#38381 [Opn->Bgs]: exit and time function
| From: | tony2001@php.net | Date: | Tue, 08 Aug 2006 15:10:21 +0000 |
| Subject: | #38381 [Opn->Bgs]: exit and time function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100530@lists.php.net to get a copy of this message | ||
ID: 38381
Updated by: tony2001@php.net
Reported By: box at neting dot ru
-Status: Open
+Status: Bogus
Bug Type: Date/time related
Operating System: Windows XP SP2
PHP Version: 5.2.0RC1
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
http://php.net/exit
"If status is an integer, that value will also be used as the exit
status."
Previous Comments:
------------------------------------------------------------------------
[2006-08-08 15:03:47] box at neting dot ru
Description:
------------
exit and time() function
Reproduce code:
---------------
Bug Code:
<?php
$time = time();
exit($time);
?>
Working:
<?php
$time = time();
$string = "Time is: ";
exit($string . $time);
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38381&edit=1