ID: 31650 Updated by: [EMAIL PROTECTED] 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