The "PHP Manual Masterpieces" site has varied a bit from its usual format and has gone with its own "blast from the past" doing a review in retrospect of PHP 2.0, a long forgotten version of the language with some "interesting" features.
This is not about PHP as we now know it in the waning months of 2013. This is about the waning months of the year 1997. I was nine years old. My life was not yet overshadowed by haphazard scripting languages. Somewhere in the wilderness, during a savage thunderstorm in the dead of night, a Danish Canadian pushed the 2.0 revision of his personal home page generator's tarball to a web server.
The post looks at some of the "horrors" that made up PHP at that time including:
- The footer PHP/FI added to every page
- No real concept of input/output filtering
- The use of register_globals
- Weird handling of superglobal values
- The inclusion of magic_quotes
And, of course, all of these (and more) complete with quotes from the manual at the time talking about reasons behind their use and code where appropriate.