[wp-trac] Re: [WordPress Trac] #8701: WordPress throws E_DEPRECATED notices all over the place with newer PHP 5 installs

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 23 22:01:01 GMT 2009


#8701: WordPress throws E_DEPRECATED notices all over the place with newer PHP 5
installs
-------------------------------------+--------------------------------------
 Reporter:  Otto42                   |        Owner:  anonymous
     Type:  defect (bug)             |       Status:  reopened 
 Priority:  high                     |    Milestone:  2.7.1    
Component:  General                  |      Version:  2.7      
 Severity:  blocker                  |   Resolution:           
 Keywords:  has-patch tested commit  |  
-------------------------------------+--------------------------------------
Comment (by Denis-de-Bernardy):

 Replying to [comment:35 jacobsantos]:
 > Replying to [comment:34 jacobsantos]:
 > > Well, I mean PHP 6.0 shows nothing.
 >
 > Confirmed:
 >
 > {{{
 > error_reporting( E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_WARNING ^
 E_STRICT);
 > }}}
 >
 > Works on PHP 6.0 but not PHP 5.3 or PHP 5.2.x

 that would be the expected behavior: E_STRICT is part of E_ALL starting
 with php6

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8701#comment:37>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list