Hacker News new | past | comments | ask | show | jobs | submit login

It's the description of PHP that isn't quite right. It's not read perfectly top-down like a script, nor is it interpreted at the same time as it's read. You can declare a function at the end of a file and use it in the first line.



Well, that's not quite right either. I've purged my mind of the edge cases here, but it generally involves includes.

I admit it sounds a bit off, like the quotee doesn't know exactly what she's talking about, but she's not egregiously wrong.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: