PHP 4.0 Bug #4294 Updated: return in script called from php.ini stops engine

From: Date: Sat, 19 Aug 2000 14:36:52 +0000
Subject: PHP 4.0 Bug #4294 Updated: return in script called from php.ini stops engine
Groups: php.dev 
Request: Send a blank email to php-dev+get-29653@lists.php.net to get a copy of this message
ID: 4294 Updated by: waldschrott Reported By: frip@bigfoot.com Status: Analyzed Bug Type: Documentation problem Assigned To: Comments: well in fact it´s nowhere document what return() exactly does, it seems to be possible to halt the whole script from the gloabal scope be putting return() in it, I don´t know whether this is intended (I think it shouldn´t be possible to leave the global scope with it, perhaps a e_notice or warning) Full Bug description available at: http://bugs.php.net/?id=4294

« previous php.dev (#29653) next »