[PHP-DEV] Bug #14574 Updated: exit() and its annoying output
ID: 14574 Updated by: yohgaki Reported By: [EMAIL PROTECTED] Old Status: Analyzed Status: Closed Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.0.6 Assigned To: derick New Comment: Closed :) Previous Comments: [2001-12-18 06:13:15] [EMAIL PROTECTED] I mailed a patch to php-dev. Have to wait until it gets accepted. Derick [2001-12-18 04:54:43] [EMAIL PROTECTED] We can not change exit, I'll have a look at a new function, shell_exit(). Derick [2001-12-18 04:52:07] [EMAIL PROTECTED] Hi, I'm using PHP to write shell scripts that support HTML-embedded code. The latter one rely on a minimal output, for instance reading a configuration by calling a cmdline-script that simply returns the value to some key. exit() is very annoying because of putting out the exit state submitted as an integer to it. Either I have to do some tricks on shell script side or within my HTML-embedded stuff by removing that extra output. Anyway, it's something I shouldn't need to do if PHP wouldn't lack of some simple function doing the exit-job without some output and even without tricks included. Thomas Urban Edit this bug report at http://bugs.php.net/?id=14574edit=1 -- 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-DEV] Bug #14574 Updated: exit() and its annoying output
ID: 14574 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Old Bug Type: Scripting Engine problem Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.0.6 Old Assigned To: Assigned To: derick New Comment: We can not change exit, I'll have a look at a new function, shell_exit(). Derick Previous Comments: [2001-12-18 04:52:07] [EMAIL PROTECTED] Hi, I'm using PHP to write shell scripts that support HTML-embedded code. The latter one rely on a minimal output, for instance reading a configuration by calling a cmdline-script that simply returns the value to some key. exit() is very annoying because of putting out the exit state submitted as an integer to it. Either I have to do some tricks on shell script side or within my HTML-embedded stuff by removing that extra output. Anyway, it's something I shouldn't need to do if PHP wouldn't lack of some simple function doing the exit-job without some output and even without tricks included. Thomas Urban Edit this bug report at http://bugs.php.net/?id=14574edit=1 -- 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]