Bug #14574 Updated: exit() and its annoying output

From: Date: Tue, 18 Dec 2001 11:13:15 +0000
Subject: Bug #14574 Updated: exit() and its annoying output
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74228@lists.php.net to get a copy of this message
ID: 14574 Updated by: derick Reported By: soletan@toxa.de Old Status: Assigned Status: Analyzed Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.0.6 Assigned To: derick New Comment: I mailed a patch to php-dev. Have to wait until it gets accepted. Derick Previous Comments: ------------------------------------------------------------------------ [2001-12-18 04:54:43] derick@php.net We can not change exit, I'll have a look at a new function, shell_exit(). Derick ------------------------------------------------------------------------ [2001-12-18 04:52:07] soletan@toxa.de 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=14574&edit=1

« previous php.dev (#74228) next »