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