Re: Exit Function

From: Date: Wed, 31 Jan 2001 22:32:56 +0000
Subject: Re: Exit Function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37550@lists.php.net to get a copy of this message
El Mié 31 Ene 2001 19:34, Karl J. Stubsjoen escribió: > What is the way to exit a function? For example: > > function FooBar() { > > if ($foo = $bar) > Exit_this_Function; > > ## otherwise execute the rest of this function > } return is what you want. -- System Administration: It's a dirty job, but someone told I had to do it. ----------------------------------------------------------------- Martín Marqués email: martin@math.unl.edu.ar Santa Fe - Argentina http://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar -----------------------------------------------------------------

« previous php.general (#37550) next »