Re: static vars question

From: Date: Fri, 30 May 2003 22:39:19 +0000
Subject: Re: static vars question
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-149611@lists.php.net to get a copy of this message
At 5/30/2003 06:27 PM, Martin Helie wrote:
Thanks for explaining that once the function is called and completed, the rest of the first call continues executing normally. That is what surprised me.
Yup. It's what makes building function libraries a thing of art in PHP, you can create smaller functions that are called from larger functions. That way, your libraries are more specialized and easier to port from project to project. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: skeller@healthtvchannel.org Web: www.healthtvchannel.org

« previous php.general (#149611) next »