It's not just you. It's the developers of PHP that has no clue what they are doing. The PHP language is really a mess in terms on consistency and speed.
PHP is a really crappy language, but widely deployed.
I second this notion, but let's face it: it's a fairly simple scripting language (its roots in Perl), its standard library and functions are specially tailored for the web and it comes out-of-the-box in server packages and hosting plans, because it's LAMP, after all.
Also speed isn't that huge of a deal given its primary usage. In fact, it
actually does better than Python 3 at arithmetic, although that may be because memory is the limit in Python 3 compared to PHP's hardcoded 32/64-bit values.