#31650 [NEW]: Minor: While debugging, links are broken
| From: | limpin57 at yahoo dot com | Date: | Fri, 21 Jan 2005 23:59:08 +0000 |
| Subject: | #31650 [NEW]: Minor: While debugging, links are broken | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-72641@lists.php.net to get a copy of this message | ||
From: limpin57 at yahoo dot com
Operating system: Server 2k3
PHP version: 5.0.3
PHP Bug Type: Unknown/Other Function
Bug description: Minor: While debugging, links are broken
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 bug report at http://bugs.php.net/?id=31650&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31650&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31650&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31650&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31650&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31650&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31650&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31650&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31650&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31650&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31650&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31650&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31650&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31650&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31650&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31650&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31650&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31650&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31650&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31650&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31650&r=mysqlcfg