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.

Brian.

----- Original Message -----
From: "benjamin yates" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 3:00 PM
Subject: Re: [PHP-DEV] Question: Should exit() print out the integer
exit-status?


| >What are you talking about?
| >1) Setting the exit status of a process is common.
| >2) Try and right any kind of executer/parser that performs well without
| >goto's
|
|   1 - u can return a value just fine (and silently :) with return, and
| having multiple exit points i've always thought was bad design...
|
|   2 - i don't think anyone is going to write that kind of parser in php...
| but i see your point
|
|   -benjamin
|
| _________________________________________________________________
| Send and receive Hotmail on your mobile device: http://mobile.msn.com
|
|
| --
| PHP Development Mailing List <http://www.php.net/>
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
| To contact the list administrators, e-mail: [EMAIL PROTECTED]
|
|
|


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to