[dev] [cvs] commit: framework/Date Date.php

Michael M Slusarz slusarz at horde.org
Sun May 21 21:36:38 PDT 2006


Quoting Chuck Hagenbuch <chuck at horde.org>:

> chuck       2006-05-21 21:11:26 PDT
>
>   Modified files:
>     Date                 Date.php
>   Log:
>   !== null instead of !is_null()
>
>   Revision  Changes    Path
>   1.16      +2 -2      framework/Date/Date.php
>
>   Chora Links:
>   http://cvs.horde.org/diff.php/framework/Date/Date.php?r1=1.15&r2=1.16&ty=u

Any reason why?  I personally prefer is_null() to '===' (likewise, I  
prefer to use intval($x) instead of (int)$x also).  This should  
probably go in CODING_STANDARDS.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]


More information about the dev mailing list