Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

php parsing order question



7:51 pm on Dec 4, 2002 (gmt 0)

10+ Year Member

If you have an HTML file with <?php><?> tags in 3 separate locations, in what order are they parsed by the engine? In parallel or in sequence from top to bottom? Does it matter really?


7:52 pm on Dec 4, 2002 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Top to bottom. Order does matter. If you call a variable at the top of your page and declare that variable at the bottom, your script will choke because you're asking for a variable you haven't created yet!

Featured Threads

Hot Threads This Week

Hot Threads This Month