PHP is very similar to C and C++. Most of the functionality is mapped to the C library (POSIX) or libraries written in C that add features such as curl. For most applications it is definively good enough. However, as mentioned by some other people, a binary is going to be faster for many reason, not just the fact that the language is interpreted. Also, a binary is not unlikely going to be more secure, overall.