PHP is a love child
Posted Dec 8, 2008 22:09 UTC (Mon) by pr1268
Parent article: PHP 5.2.7 withdrawn
BASH, C, C++, and Perl all got together and had a love child... and called it PHP.
Hey, it's not often that PHP is discussed here at LWN, and I just wanted to share my thoughts on it. ;-)
Consider that you can write code comments in PHP in the same fashion as four other programming languages, not to mention echo(), print(), and printf() all do the same thing. I especially like how print() returns an int whose value is always 1. Useless.
The weird thing I remember in a college class on compilers was when someone chose to implement his project compiler in PHP (the instructor had given us free reign on choosing what language in which to code our compiler). It can be done (considering that PHP is Turing complete), and this student did so, but the instructor was skeptical.
to post comments)