Date: 05/21/01
- Next message: Andrei Zmievski: "Re: [PHP-DEV] 4.0.6RC2"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #10593 Updated: GD compile failure with GD 1.5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: brianm <email protected>
Operating system: Linux
PHP version: 4.0 Latest CVS (2001-05-21)
PHP Bug Type: Feature/Change Request
Bug description: exit() should return an exit status if passed, not send to stdout
Working with a shell script here. I hoped that exit() would work like perl and return the passed status as and exist status. As it stands now, it sends it to stdout. This is unexpected.
It would be much more useful if exit() could be used to enable the use of PHP in shell scripts by returning the passed value as an exit status.
-- Edit Bug report at: http://bugs.php.net/?id=11008&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andrei Zmievski: "Re: [PHP-DEV] 4.0.6RC2"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #10593 Updated: GD compile failure with GD 1.5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

