From: Anthony de Boer via Talk <talk@lists.gtalug.org>
Unfortunately a language anyone can write in led to reams of really bad code, and the mere fact something is written in PHP has become a code smell.
Collective wisdom advances. Any old code is suspect. Code written by novices is also suspect. Large code bases are suspect. I've never used PHP, but my vague recollection is that it was very easy to use data from the wild in unsafe ways. Ways where metadata / commands could be smuggled in. For example, our understanding of buffer overflows has certainly advanced. Typical astonishing thing from the past: The IBM 1620 family of computers (introduced 1960) had a console typewriter. The machine language command to read from the console typewriter had no way to limit the length of the character sequence read. In fact, if the programmer got smart and made the buffer sit at the end of memory, the read command would allow the buffer to wrap around to the beginning of memory. Nothing was safe. AFAIK, nobody thought that this was surprising or dangerous. (From memory, I think that the command to read alphanumeric characters into location 1500 on would be 37 01500 00100. But I'm a bit rusty since I haven't used one of these beasts for about 50 years.)