|
|
|
|
|
by phplovesong
2089 days ago
|
|
Mostly because PHP is implemented very poorly. Its used to be really slow (its a little bit better now with newer versions) and it always amazed me, because of its basically a thin wrapper on C. I guess PHPs core types are very inefficient and the team behind PHP lacks time to really do a rewrite. A prime example is the PHP "array". Its not a list, its not an array, but more of a weird object thing. PHP is full of these weird things that are probably hard to optimize (in the PHP runtime) |
|
PHP might not be suited to every application, but it's certainly not slow.
[1] https://www.techempower.com/benchmarks/