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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: box at neting dot ru
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sat Dec 06 00:00:02 2025 UTC