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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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 01:01:27 2024 UTC