patch for bug #17115

php.internals

Moriyoshi Koizumi

23 years ago
Hello, The attached patch is the quick fix for bug #17115. The cause of this problem is that the hashtable that holds static variables of the lambda function being generated is wrongly destroyed in zend_hash_del() right after the call of zend_hash_add(), as function_add_ref() virtually copy-constructs the static variables as well as simply incrementing the reference count of op_array. Moriyoshi