--TEST-- Check that arguments are freed when a call to an abstract method throws --FILE-- getMessage(), "\n"; } $ret = new stdClass; try { $ret = Test::method(new stdClass); } catch (Error $e) { echo $e->getMessage(), "\n"; } ?> --EXPECT-- Cannot call abstract method Test::method() Cannot call abstract method Test::method()