Last modified: 2010-05-15 15:33:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4931, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2931 - PHP 4.4.0 generates warning for reference variables
PHP 4.4.0 generates warning for reference variables
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.4.x
All All
: Low minor (vote)
: ---
Assigned To: Brion Vibber
:
Depends on: 2885
Blocks: code_quality
  Show dependency treegraph
 
Reported: 2005-07-22 00:48 UTC by Chris Lowe
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris Lowe 2005-07-22 00:48:42 UTC
As mentioned in bug 2885, 1.4.7. running on PHP 4.4.0 generates several
non-fatal notices:

Notice: Only variable references should be returned by reference in
C:\MediaWiki\includes\ObjectCache.php on line 369
Notice: Only variables should be assigned by reference in
C:\MediaWiki\includes\Parser.php on line 1225
Notice: Only variables should be assigned by reference in
C:\MediaWiki\includes\Parser.php on line 1045
Notice: Only variables should be assigned by reference in
C:\MediaWiki\includes\Parser.php on line 1140
Notice: Only variables should be assigned by reference in
C:\MediaWiki\includes\Parser.php on line 2540
Notice: Only variables should be assigned by reference in
C:\MediaWiki\includes\Parser.php on line 796
Notice: Only variable references should be returned by reference in
C:\MediaWiki\includes\SkinTemplate.php on line 136
Comment 1 River Tarnell 2005-07-22 00:51:46 UTC
workaround:  ini_set("display_errors", 0); 
Comment 2 Brion Vibber 2005-07-22 09:20:01 UTC
Lowering priority. The notices are harmless, not shown by default, and don't occur on the current PHP 
stable release (5.0.4).

Marking dependent on bug 2885; or perhaps this should be marked duplicate.
Comment 3 Brion Vibber 2005-07-22 10:46:41 UTC
PHP 4.4.0 in fact complains in some places that PHP 5.1.0beta3 does not. Sigh...
Comment 4 Brion Vibber 2005-07-22 12:55:41 UTC
Marking tentatively fixed in CVS HEAD.

I haven't exhaustively tested every feature, but so far so good.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links