php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31650 Minor: While debugging, links are broken
Submitted: 2005-01-22 00:59 UTC Modified: 2005-01-22 02:23 UTC
From: limpin57 at yahoo dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.0.3 OS: Server 2k3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: limpin57 at yahoo dot com
New email:
PHP Version: OS:

 

 [2005-01-22 00:59 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-22 02:23 UTC] edink@php.net
php.ini settings do affect this. See docref_root and friends in php.ini-dist.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 04:01:26 2024 UTC