[wp-trac] [WordPress Trac] #19381: PHP [E_STRICT] is_a(): Deprecated. Please use the instanceof operator in

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 16 01:27:11 UTC 2012


#19381: PHP [E_STRICT]  is_a(): Deprecated. Please use the instanceof operator in
------------------------------+-----------------------
 Reporter:  arena             |       Owner:
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:
Component:  Warnings/Notices  |     Version:  3.3
 Severity:  trivial           |  Resolution:
 Keywords:                    |
------------------------------+-----------------------
Changes (by ericlewis):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 Replying to [comment:1 scribu]:
 > 3. is_a() has been un-deprecated in PHP 5.3: http://php.net/is_a

 Most server environments don't run 5.3, I recently heard a quote of 10% of
 servers are actually running 5.3. Since it is deprecated in 5.2.x, that
 means most people (90%?) would see the strict standards warning, if they
 had such high level error reporting turned on.

 I'm reopening, suggesting the fix as suggested by arena, which will hide
 any strict standards warnings that may pop up.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19381#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list