note 49530 added to function.exit

From: Date: Mon, 31 Jan 2005 19:49:13 +0000
Subject: note 49530 added to function.exit
Groups: php.notes 
Request: Send a blank email to php-notes+get-84283@lists.php.net to get a copy of this message
I have had problems using exit(); within PHP scripts that worked just fine on Apache 1.3.* but now fail since upgrading to Apache 2.0.* Similar to other comments below, I switched all my exit(); calls to return(); and everything appears to work just fine. OS is SuSE Linux. HTH helps someone - I have been frustrated for days in trying to figure why my scripts were failing. ---- Manual Page -- http://www.php.net/manual/en/function.exit.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49530 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49530&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49530&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49530&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49530&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49530&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49530&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#84283) next »