At the end of the php program, the order in which destructors are executed, why is the object created first and executed last? and the destructor is triggered when an Object is destroyed in the Bird blog: C, " " . PHP, " " HastTable. , " " Has...
see two pieces of code: int symbols; do { symbols = zend_hash_num_elements(&EG(symbol_table)); zend_hash_reverse_apply(&EG(symbol_table), (apply_func_t) zval_call_destructor TSRMLS_CC); } while (symbols != zend_hash_num_elements(&am...