note 102954 rejected from function.exit by thiago
| From: | thiago@php.net | Date: | Fri, 18 Mar 2011 19:49:54 +0000 |
| Subject: | note 102954 rejected from function.exit by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177993@lists.php.net to get a copy of this message | ||
Note Submitter: drea at uoguelph dot ca
----
Mysteriously, both exit ([ string $status ] ) and die ([ string $status ] ) output to stdout instead
of stderr. To test:
die.php
<?php
die("a str\n");
?>
$php -q die.php 2> die.txt
a str
$