Re: [PHP] exit() function question

2002-09-03 Thread Tom Rogers
Hi, Wednesday, September 4, 2002, 1:30:49 AM, you wrote: RL> Why exit() funtion always exit with 255 value instead of the passed RL> value, in php 4.2.2, even when I compile with --enable-cli. RL> Check the code bellow, to see RL> # cat t3.php RL> #!/usr/src/php-4.2.2/php RL> echo "Version: ",

[PHP] exit() function question

2002-09-03 Thread Renato Lins
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 # ./t3.php ; echo "last run exit value:"$? Version: 4.2.2 last run exit value:255 -- PHP Genera