Re: [PHP-DEV] Bug #11008 Updated: exit() should return an exit statusif passed, not send to stdout

2001-12-06 Thread Jani Taskinen
Creating some new function (or language construct :) and not fixing the existing one is really stupid idea. exit(string) - same behaviour as before eixt(int)- only set exit-status and no echo out anything to stdout. Thus BC wouldn't be that badly broken.. --Jani On Fri, 7 Dec 2001,

Re: [PHP-DEV] Bug #11008 Updated: exit() should return an exit statusif passed, not send to stdout

2001-12-06 Thread Jani Taskinen
I can't remember every single war there has been on php-dev.. :-p Like Jason put it, two GOOD solutions (others are just denying the fact that someone fucked this up when it was implemented): 1. Overload it. 2. Separate die() and exit(). Zeev, are you really using exit() to output integers?