php-developer-list | 2001122
Date: 12/20/01
- Next message: derick <email protected>: "Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?"
- Previous message: Yasuo Ohgaki: "[PHP-DEV] Re: [PEAR-DEV] Re: [FRC]Session module related issues"
- In reply to: Brian Moon: "Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?"
- Next in thread: derick <email protected>: "Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?"
- Reply: derick <email protected>: "Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> No offense Benjamin, but you don't understand the conversation. This is
> about running PHP apps in consoles, mail pre-processors and as cron jobs
> where exit status is needed. The only way to get an exit status is with
> exit.
wow i just tried it... i never realized that return wasn't setting the exit
code. ok then - i guess i'm all for system_exit() or similar, but why
wouldn't we want return to set it like it's C counterpart?
-benjamin
-- 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: derick <email protected>: "Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?"
- Previous message: Yasuo Ohgaki: "[PHP-DEV] Re: [PEAR-DEV] Re: [FRC]Session module related issues"
- In reply to: Brian Moon: "Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?"
- Next in thread: derick <email protected>: "Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?"
- Reply: derick <email protected>: "Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

