Home >Backend Development >PHP Tutorial >Are all PHP's internal functions written in C, and are they the most efficient?
Are all PHP’s internal functions written in C? Is it always the most efficient?
Are all PHP’s internal functions written in C? Is it always the most efficient?
Yes, it is written in C, no doubt
There is no highest efficiency, only higher efficiency
Each version will be improved in all aspects, so there is no highest, only higher. Safety/efficiency/speed, etc. will only get better and better
1. Of course, the bottom layer of PHP is written in C
2. High efficiency is relative, such as PHP5.x and PHP7.x. PHP7.X is definitely much more efficient than PHP5.X
Whether it is all C, you will know after reading the source code.
Don’t misunderstand that programs written in C language will be more efficient... It depends on the person...
The bottom layer of php is C