Briefly talk about the changes of zval in PHP5 and PHP7

In this article, I try to use popular words to describe the difference between the two zval. The summary is at the end. Official start Structure of zval: type value refcount: this parameter is used several times (including references). The garbage collection mechanism also judges this value, int is_ref: whether it is referenced, true|false ...

Posted by exploo on Wed, 25 May 2022 11:04:37 +0300