Doc #69711 [Csd->Nab]: StrToTime Error
| From: | cmb@php.net | Date: | Wed, 27 May 2015 14:54:18 +0000 |
| Subject: | Doc #69711 [Csd->Nab]: StrToTime Error | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12372@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
Updated by: cmb@php.net
Reported by: admin at ha-lab dot com
Summary: StrToTime Error
-Status: Closed
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
Operating System: Win 7
PHP Version: 5.6.9
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-05-27 08:21:46] admin at ha-lab dot com
sorry
------------------------------------------------------------------------
[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