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

2002-01-06 Thread mfischer
ID: 11008 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Analyzed Status: Closed Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.0 Latest CVS (2001-05-21) New Comment: Fixed in CVS (integer values aren't printed to stdout anymore). Previous Comments:

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

2001-12-06 Thread sniper
ID: 11008 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Analyzed Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.0 Latest CVS (2001-05-21) New Comment: I just got bitten by this. The manual page says that if the value passed to exit() is

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

2001-12-06 Thread Markus Fischer
Sadly no :-/ There were some discussions in the past and some ideas came up (exit_shell() or shell_exit()) but no further steps where taken. - Markus On Thu, Dec 06, 2001 at 10:02:53PM -, [EMAIL PROTECTED] wrote : ID: 11008 Updated by: sniper Reported By: [EMAIL

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

2001-12-06 Thread Markus Fischer
On Fri, Dec 07, 2001 at 02:33:50AM +0200, Jani Taskinen wrote : 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.

Re: [PHP-DEV] Bug #11008 Updated: exit() should return an exit status

2001-12-06 Thread Yasuo Ohgaki
Jani Taskinen wrote: 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

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

2001-07-17 Thread Jason Greene
Zeev, New Comment: Simply put - no, it should not. exit's optional argument is a termination message, not a shell status. Actually, if exit's argument is of type long, then the status is set. I think that since we support this functionality echoing the status code doesn't make much sense.

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

2001-07-15 Thread zeev
ID: 11008 Updated by: zeev Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.0 Latest CVS (2001-05-21) New Comment: Simply put - no, it should not. exit's optional argument is a termination message, not a

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

2001-05-23 Thread brianlmoon
ID: 11008 Updated by: brianlmoon Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating system: PHP Version: 4.0 Latest CVS (2001-05-21) Assigned To: Comments: Anyone in the Zend core want to comment on this? I know where the code is that does it. But it is

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

2001-05-22 Thread Daniel Beckham
Can we go ahead and change this behavior then? Is there really a reason to echo the status to standard out? Daniel - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 21, 2001 6:59 PM Subject: [PHP-DEV] Bug #11008 Updated: exit() should return an exit

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

2001-05-21 Thread bbonev
ID: 11008 Updated by: bbonev Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating system: PHP Version: 4.0 Latest CVS (2001-05-21) Assigned To: Comments: indeed it does both: if php; then echo yes; fi ? exit(0) ? X-Powered-By: PHP/4.0.5 Content-type: