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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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