Doc #69711 [Opn->Csd]: StrToTime Error

From: Date: Wed, 27 May 2015 08:21:46 +0000
Subject: Doc #69711 [Opn->Csd]: StrToTime Error
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12371@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69711&edit=1 ID: 69711 User updated by: admin at ha-lab dot com Reported by: admin at ha-lab dot com Summary: StrToTime Error -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: Win 7 PHP Version: 5.6.9 Block user comment: N Private report: N New Comment: sorry Previous Comments: ------------------------------------------------------------------------ [2015-05-27 08:21:13] admin at ha-lab dot com sorry for the Typo but i found that its working now the test script should be "strtotime" not "strtolower" but never mind the function is now working ------------------------------------------------------------------------ [2015-05-27 08:13:37] admin at ha-lab dot com Description: ------------ --- From manual page: http://www.php.net/function.strtotime --- in php 5.6 strtotime only accepts 1 parameter while in the documentation you show it accepts 2 parameters i get the below error Test script: --------------- <?php strtolower('+24 hour', time()); Expected result: ---------------- Warning: strtolower() expects exactly 1 parameter, 2 given in /path/to/file ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69711&edit=1

« previous php.doc.bugs (#12371) next »