Re: Using functions before they're defined
| From: | Julio Nobrega Trabalhando | Date: | Thu, 07 Feb 2002 14:46:28 +0000 |
| Subject: | Re: Using functions before they're defined | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83836@lists.php.net to get a copy of this message | ||
My guess it's that since the page is entirely read before processed (hence
you get parse errors and nothing before it's executed), the function calls
are store somewhere waiting for the definitions. Once the page is entirely
parsed, the functions try to execute...
If you asked with PHP development, sources, module development, etc... I
mean, if you want to know how it's done internally to change or take
advantage of those resources, I guess php.dev mailing list is a better
place.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Brad Harriger" <bradharriger@clarionhospital.org> wrote in message
news:3C628D81.1010809@clarionhospital.org...
> How does PHP 4 locate function definitions if the function is called
> before it is defined?
>