06-03-2008, 05:56 PM
|
#5 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
Quote:
|
why do you use the function before it is declared?
|
PHP is compiled server side before it's ran, you can declare a function anywhere on the page, and use it anywhere else as you please. Same with classes, etc. You can even use a function inside of itself (recursive functions). It is PHP Hypertext Preprocessor after all. 
-m
|
|
|
|