#34348 [NEW]: Confusing "timestamp" parameter in strptime()

From: Date: Fri, 02 Sep 2005 15:31:45 +0000
Subject: #34348 [NEW]: Confusing "timestamp" parameter in strptime()
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969369835@lists.php.net to get a copy of this message
From: dallas@php.net Operating system: Non-Windows PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Confusing "timestamp" parameter in strptime() Description: ------------ The document of strptime() function using the following define: array strptime ( string timestamp, string format ) timestamp (string) A timestamp (e.g. returned from strftime()) However, "timestamp" here is not actually a timestamp(seconds since Unix Epoch). It's a string value likely returned from strftime(). Maybe changing "timestamp" to another less confusing word is a good idea. -- Edit bug report at http://bugs.php.net/?id=34348&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34348&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34348&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34348&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34348&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34348&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34348&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34348&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34348&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34348&r=support Expected behavior: http://bugs.php.net/fix.php?id=34348&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34348&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34348&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34348&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34348&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34348&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34348&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34348&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34348&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34348&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34348&r=mysqlcfg

« previous php.doc (#969369835) next »