Searched refs:guards (Results 1 – 3 of 3) sorted by relevance
/PHP-8.0/Zend/ |
H A D | zend_objects.c | 80 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 D | zend_object_handlers.c | 502 HashTable *guards; in zend_get_property_guard() local 520 ALLOC_HASHTABLE(guards); in zend_get_property_guard() 521 zend_hash_init(guards, 8, NULL, zend_property_guard_dtor, 0); in zend_get_property_guard() 523 zend_hash_add_new_ptr(guards, str, in zend_get_property_guard() 526 ZVAL_ARR(zv, guards); in zend_get_property_guard() 529 guards = Z_ARRVAL_P(zv); in zend_get_property_guard() 530 ZEND_ASSERT(guards != NULL); in zend_get_property_guard() 531 zv = zend_hash_find(guards, member); in zend_get_property_guard() 544 return (uint32_t*)zend_hash_add_new_ptr(guards, member, ptr); in zend_get_property_guard()
|
/PHP-8.0/Zend/tests/ |
H A D | property_access_errors_for_guarded_properties.phpt | 2 Property access errors should be thrown for overloaded properties protected by recursion guards
|
Completed in 23 milliseconds