[wp-trac] Re: [WordPress Trac] #9639: Error Reporting for Wp-load.php overrides E_DEPRECATED too late

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 25 02:23:57 GMT 2009


#9639: Error Reporting for Wp-load.php overrides E_DEPRECATED too late
------------------------------+---------------------------------------------
 Reporter:  jacobsantos       |       Owner:                  
     Type:  enhancement       |      Status:  new             
 Priority:  low               |   Milestone:  2.8             
Component:  Warnings/Notices  |     Version:  2.7             
 Severity:  minor             |    Keywords:  has-patch tested
------------------------------+---------------------------------------------

Comment(by jacobsantos):

 Replying to [comment:3 azaozz]:
 > Also if we need the long list, why are we '''"Xor"''' `^ E_STRICT` when
 we should be tuning it off '''"And Not"''' `& ~E_STRICT`
 [https://core.trac.wordpress.org/ticket/8701#comment:49 as proposed by
 westi]. That makes the test for PHP 6.x redundant.

 In my tests, basically {{{^ E_STRICT}}} works the same as {{{|
 ~E_STRICT}}} and same for the others.

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


More information about the wp-trac mailing list