From:             rob at akrabat dot com
Operating system: N/A
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  Update strtotime() manual page for fractional seconds issue 
in PHP4

Description:
------------
According to http://bugs.php.net/bug.php?id=28717 and
http://bugs.php.net/bug.php?id=27551 fractional seconds are not supported
for the time parameter in strtotime().

Please update the manual page to add a warning to users of PHP 4.

Reproduce code:
---------------
N/A.

Code that reproduces the error is:

<?php
$date = '2000-01-01 00:00:00.000';
echo strtotime($date);
?> 

In PHP 4 this code returns -1 as documented in the referenced bugs.

Expected result:
----------------
The manual page for strtotime() should have a warning about this issue for
PHP4.


-- 
Edit bug report at http://bugs.php.net/?id=34755&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34755&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34755&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34755&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34755&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34755&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34755&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34755&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34755&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34755&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34755&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34755&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34755&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34755&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34755&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34755&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34755&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34755&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34755&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34755&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34755&r=mysqlcfg

Reply via email to