Why PHP7 introduced Fast zend parameters parsing (FAST_ZPP): zend_parse_parameters consumed ~6% of runtime in the wordpress benchmark, so PHP7 replaces the runtime type_spec string with compile-time macro-based parsing that inlines down to a single pointer read.
with 0 CommentWhy PHP7's zend_array replaced the PHP5 Hashtable: dropping zval**, making buckets a contiguous array, and adding packed / static-key / empty / immutable array optimizations — a ~56-byte struct and ~32-byte bucket that slash memory and improve cache locality.
with 0 Comment