Why exit() funtion always exit with 255 value instead of the passed 
value, in php 4.2.2, even when I compile with --enable-cli.
Check the code bellow, to see

# cat t3.php
#!/usr/src/php-4.2.2/php
<?php
echo "Version: ",phpversion(),"\n";
exit(1);
?>
# ./t3.php ; echo "last run exit value:"$?
Version: 4.2.2
last run exit value:255



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to