php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38381 exit and time function
Submitted: 2006-08-08 15:03 UTC Modified: 2006-08-08 15:10 UTC
From: box at neting dot ru Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 5.2.0RC1 OS: Windows XP SP2
Private report: No CVE-ID: None
 [2006-08-08 15:03 UTC] 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);
?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-08 15:10 UTC] tony2001@php.net
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."
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 21:01:33 2024 UTC