Last modified: 2009-09-01 18:38:08 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 T22463, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20463 - Replace is_a() with instanceof
Replace is_a() with instanceof
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.16.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-01 12:30 UTC by Tisza Gergő
Modified: 2009-09-01 18:38 UTC (History)
3 users (show)

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


Attachments

Description Tisza Gergő 2009-09-01 12:30:35 UTC
The installer throws an ugly warning saying "Strict standards: is_a(): Deprecated. Please use the instanceof operator".
Comment 1 Niklas Laxström 2009-09-01 12:45:17 UTC
712:    if( is_a($u, 'User') ) { // please do not use instanceof, it breaks PHP4
I've heard the installer requires 1.15 nowadays, so can this be fixed now?
Comment 2 Chad H. 2009-09-01 14:10:34 UTC
Done in r55707.
Comment 3 Alexandre Emsenhuber [IAlex] 2009-09-01 18:38:08 UTC
Just a note: is_a() is no more deprecated since PHP 5.3.0.

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


Navigation
Links