Posted by Scott Auge on 07/19/05 21:25
In article <1121794158.223719.199010@g43g2000cwa.googlegroups.com>,
changli_to@hotmail.com wrote:
> I think PHP is a kind of typeless C++. In this vision I found that PHP
> is much better to understand. Is there any comparation for both
> languages?
I was listening to a podcast with the fella who started out writing PHP.
He basically wrote it out to abstract out of the apache module coding
base - this way one didn't need to know apache module programming - just
add some tags and then apache would use it to call into C routines PHP
knew about. It was a "this tag - this routine" mapping thing.
It has since been taken over by Zend who have made the engine better and
better over time, turning a simple mapping parser into a real language.
IMO, it is accurate to think of PHP as a typeless C++. A lot of the
syntactical styles are the same even. A lot of the concepts are the
same.
Well, that is my opinion.
[Back to original message]
|