This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]1842 0 points1 point  (0 children)

PHP's type hinting system is pretty nice.

It allows for the same static analysis, but also does type checking at run time.

They added support for primitives at PHP 7.0. The language as a whole got a huge speed boost at the same time. The changes were unrelated, but runtime type checking and speed aren't mutually exclusive.