[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:53:00 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:  Awaiting Review
Component:  Warnings/Notices         |     Version:  3.3
 Severity:  trivial                  |  Resolution:
 Keywords:  2nd-opinion needs-patch  |
-------------------------------------+------------------------------

Comment (by ericlewis):

 Replying to [comment:4 scribu]:
 > Because if you care about E_STRICT, but haven't bothered to update to a
 version of PHP that still receives security updates, your priorities are
 all wrong.
 True, this is probably a narrow use case.

 Also of note, I just noticed E_STRICT is included in E_ALL as of 5.4 (see
 note next to E_STRICT in [http://php.net/manual/en/errorfunc.constants.php
 PHP Error Constants]), so there would be an added bonus to the also
 potentially narrow use case of anyone running 5.4 with WP_DEBUG set to
 true.

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


More information about the wp-trac mailing list