4 ms·
Your understanding is limited. PHP has the ability to be written "inline" basically all of PHP acts like a templating engine. That's not how FB makes its devel
by drakaal 13y ago
Your understanding is limited.
PHP has the ability to be written "inline" basically all of PHP acts like a templating engine. That's not how FB makes its developers write. That's a big difference.
Also HipHop supports a subset of PHP's functions, which actually causes you to write better code because you can't lean on things like "eval" and dynamic defines. This makes your code better.
There is a lot of "this kind of stuff" that makes PHP very different from HipHop.
- elbear 13y agoWhether they write PHP mixed with HTML is another thing. The point is that they write PHP and not some other language, which is what I was saying. HipHop has near full support for PHP 5.4, including the "create_function" and "eval" functions.[1] Yes, PHP and HipHop are different, because one is a language and the other is a virtual machine. [1]http://en.wikipedia.org/wiki/HipHop_for_PHP http://en.wikipedia.org/wiki/HipHop_for_PHP