For arrays the not-refcounted variant is called an "immutable array". If you use opcache, then constant array literals in your code will be converted into immutable arrays. Once again, these live in shared memory and as such must not use refcounting. Immutable arrays have a dummy refcount of 2, as it allows us to optimize certain separation paths.
weixin_39586683的博客php的所有变量实际上是用一个struct zval来表示的。/* Zend/zend.h */typedef struct _zval_struct zval;typedef union _zvalue_value {long lval; /* long value */double dval; /* double value */...