#31650 [Opn->Bgs]: Minor: While debugging, links are broken
| From: | edink@php.net | Date: | Sat, 22 Jan 2005 01:23:57 +0000 |
| Subject: | #31650 [Opn->Bgs]: Minor: While debugging, links are broken | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72645@lists.php.net to get a copy of this message | ||
ID: 31650
Updated by: edink@php.net
Reported By: limpin57 at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Server 2k3
PHP Version: 5.0.3
New Comment:
php.ini settings do affect this. See docref_root and friends in
php.ini-dist.
Previous Comments:
------------------------------------------------------------------------
[2005-01-22 00:59:07] limpin57 at yahoo dot com
Description:
------------
The issue is not with the actual error, but the error message itself.
The link function.strtotime or any other function is broken, it uses a
relative URL.
I don't believe any changes in php.ini would affect this problem so I
won't include it.
Reproduce code:
---------------
<?php
strtotime($var);
?>
Expected result:
----------------
PHP Notice: Undefined variable: var in d:\Inetpub\wwwroot\bug.php on
line 2 PHP Warning: strtotime() [<a
href="http://us4.php.net/manual/en/function.strtotime.php">function.strtotime</a>]:
Called with an empty time parameter. in d:\Inetpub\wwwroot\bug.php on
line 2
Actual result:
--------------
PHP Notice: Undefined variable: var in d:\Inetpub\wwwroot\bug.php on
line 2 PHP Warning: strtotime() [<a
href="function.strtotime">function.strtotime</a>]: Called with an empty
time parameter. in d:\Inetpub\wwwroot\bug.php on line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31650&edit=1