Results 1 to 10 of 10
Aug 27, 2012, 17:07 #1
- Join Date
- Feb 2011
- 0 Post(s)
- 1 Thread(s)
php an enforced sequential language?
I'm a front end person who is doing more and more php.
Recently I was in a situation with PHP where line 10 uses the results of a function and assigns them to a variable.
Line 11 then uses that variable, there is no check to see if the function has completed.
My instinct was to change it to include a callback.
But someone told me that php is a sequential language and that every line is evaluated before moving to the next. Is this true?