[wp-trac] [WordPress Trac] #15293: Variable problem for debug between class-phpmailer and class-smtp

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 2 19:48:45 UTC 2010


#15293: Variable problem for debug between class-phpmailer and class-smtp
------------------------------+---------------------------------------------
 Reporter:  phasetransitions  |       Owner:                                                
     Type:  defect (bug)      |      Status:  new                                           
 Priority:  normal            |   Milestone:  Awaiting Review                               
Component:  General           |     Version:  3.0.1                                         
 Severity:  minor             |    Keywords:  SMTP_Debug do_debug class-phpmailer class-smtp
------------------------------+---------------------------------------------

Comment(by nacin):

 Anything that doesn't evaluate to false, evaluates to true.

 0 == array() == `''` == '0' == null == false

 Anything else == true

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


More information about the wp-trac mailing list