Re: return

From: Date: Mon, 11 Dec 2000 20:51:50 +0000
Subject: Re: return
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29752@lists.php.net to get a copy of this message
When you execute a return(), the function exits and returns to the point at which the function was called in your code. Louis ----- Original Message ----- From: Martin A. Marques <martin@math.unl.edu.ar> To: <php-general@lists.php.net> Sent: Monday, December 11, 2000 8:43 PM Subject: [PHP] return > If inside a function I return a value (whatever, true, false, $i....) those > the scope of the function end? Or those the script keep running? I mean for > if I have to put a break there. > > Saludos... :-) > > -- > 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 > ----------------------------------------------------------------- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#29752) next »