--TEST-- ZE2 The new constructor/destructor is called --SKIPIF-- --FILE-- early(); unset($t); $t = new late(); $t->late(); //unset($t); delay to end of script echo "Done\n"; ?> --EXPECTF-- early::__construct early::early early::__destruct late::__construct late::late Done late::__destruct