1 2 3 4 5 6 7 8 9 10 11 12 13 14
--TEST-- Test constructor & destructor --SKIPIF-- <?php if (!extension_loaded("extention_for_tests")) print "skip"; ?> --FILEEOF-- <?php echo count(new TestBaseClass\MyClass($x)); echo PHP_EOL; --EXPECT-- MyCustomClass::MyCustomClass() MyCustomClass::~MyCustomClass 33