homepage Welcome to WebmasterWorld Guest from 54.204.231.253
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
php parsing order question
scorpion




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

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?

 

lorax




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

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!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved