Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix repeated file cache unserialization of zval string
The IS_UNSERIALIZED check here does not work if the string is interned (serialized with file_cache_only=0) but unserialization happens with file_cache_only=1. In this case the unserializde string will be in the str area after mem, which is not included in the script size, and which is also not accessible at this point without threading through more information. Work around the problem by checking for the serialized representation instead.
- Loading branch information