Home
last modified time | relevance | path

Searched refs:guards (Results 1 – 3 of 3) sorted by relevance

/PHP-7.4/Zend/
H A Dzend_objects.c80 HashTable *guards; in zend_object_std_dtor() local
82 guards = Z_ARRVAL_P(p); in zend_object_std_dtor()
83 ZEND_ASSERT(guards != NULL); in zend_object_std_dtor()
84 zend_hash_destroy(guards); in zend_object_std_dtor()
85 FREE_HASHTABLE(guards); in zend_object_std_dtor()
H A Dzend_object_handlers.c613 HashTable *guards; in zend_get_property_guard() local
631 ALLOC_HASHTABLE(guards); in zend_get_property_guard()
632 zend_hash_init(guards, 8, NULL, zend_property_guard_dtor, 0); in zend_get_property_guard()
634 zend_hash_add_new_ptr(guards, str, in zend_get_property_guard()
637 ZVAL_ARR(zv, guards); in zend_get_property_guard()
640 guards = Z_ARRVAL_P(zv); in zend_get_property_guard()
641 ZEND_ASSERT(guards != NULL); in zend_get_property_guard()
642 zv = zend_hash_find(guards, member); in zend_get_property_guard()
655 return (uint32_t*)zend_hash_add_new_ptr(guards, member, ptr); in zend_get_property_guard()
/PHP-7.4/Zend/tests/
H A Dproperty_access_errors_for_guarded_properties.phpt2 Property access errors should be thrown for overloaded properties protected by recursion guards

Completed in 10 milliseconds