Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2001122

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status? From: benjamin yates (djanix <email protected>)
Date: 12/20/01

> 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>