Date: 09/29/01
- Next message: Boian Bonev: "Re: [PHP-DEV] why does exit() print its argument?"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] why does exit() print its argument?"
- In reply to: Zeev Suraski: "[PHP-DEV] exit() / die()"
- Next in thread: Sander Steffann: "Re: [PHP-DEV] Re: exit() / die()"
- Maybe reply: Sander Steffann: "Re: [PHP-DEV] Re: exit() / die()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm glad I read the list. Doing (a) will break several scripts that my site
depends on.
"Zeev Suraski" <zeev <email protected>> wrote in message
news:5.1.0.14.2.20010929020430.051aa2a8 <email protected>
> Guys,
>
> Changing these is quite out of the question - they've been a core part of
> the language since 1997 (at least), and have lots of lines of code that
> rely on them. Moreover, there's no clear-cut reason to change it,
> especially considering it only makes sense when used in command-line mode,
> whereas the current behavior is useful in all SAPIs (in order to introduce
> such a compatibility-breaking change, we need a *good* reason).
>
> My suggestion is:
> (a) Tracing when exit() started changing exit status. If it was recent
> enough, revert.
> (b) In the CGI SAPI, introduce a shell_exit() or terminate() (possibly
find
> a better name), that will exit and set the specified error level.
>
> Zeev
>
-- 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: Boian Bonev: "Re: [PHP-DEV] why does exit() print its argument?"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] why does exit() print its argument?"
- In reply to: Zeev Suraski: "[PHP-DEV] exit() / die()"
- Next in thread: Sander Steffann: "Re: [PHP-DEV] Re: exit() / die()"
- Maybe reply: Sander Steffann: "Re: [PHP-DEV] Re: exit() / die()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

