And since the global scope was not limited to a file, tracing a variable through files and side effects was a nightmare. ![]() Requesting `index.php?something=X` implied `$something = "X" ` in the global scope at the beginning of "index.php". The code used "register globals", meaning that variables were created on the fly from the parameters in the URL, the POST form data, and the cookies. ![]() I was to port it to PHP7 since it was not compatible with PHP5.4+. I've had to deal with legacy software written with PHP4. I don't think any JS code can be worse than old PHP code.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |