ID: 14138
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Date/time related
Operating System: Debian GNU/Linux stable
PHP Version: 4.0.6
New Comment:


Works fine for me, can you try the RC from www.php.net/~zeev/php-4.1.0RC3.tar.gz ?

Derick

Previous Comments:
------------------------------------------------------------------------

[2001-11-20 04:43:47] [EMAIL PROTECTED]

There seems to be some voodoo in this script ...

for ( $i = -7 ; $i < 28 ; $i ++ ) {
        $day = date('d');
        print "\ndate is $day ";
        $day = $day + $i;
        print " after adding $i is $day ";
}

And output ends up looking like so:

date is 20  after adding -7 is 135122101 


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14138&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to