diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-29 13:10:46 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-29 13:10:46 +0100 |
commit | 7b7efa4f80dc5c9d26b59087270a8d89fedcc808 (patch) | |
tree | 1dfb0ce4a6662a5bcb6562b40ab91f813a959afc /tests/php/phpt/class_obj/002.phpt | |
parent | c0e1f20eeab6445d6355ea11ef7d264cb37c52cf (diff) | |
parent | 8bd7f5162870e4b39c7629c1a67a3372402406c9 (diff) |
Merge pull request #56 from valmat/tests
New tests
Diffstat (limited to 'tests/php/phpt/class_obj/002.phpt')
-rw-r--r-- | tests/php/phpt/class_obj/002.phpt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/php/phpt/class_obj/002.phpt b/tests/php/phpt/class_obj/002.phpt new file mode 100644 index 0000000..847e602 --- /dev/null +++ b/tests/php/phpt/class_obj/002.phpt @@ -0,0 +1,14 @@ +--TEST-- +Test constructor & destructor +--SKIPIF-- +<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> +--FILEEOF-- +<?php + +echo count(new TestBaseClass\MyClass($x)); + +echo PHP_EOL; +--EXPECT-- +MyCustomClass::MyCustomClass() +MyCustomClass::~MyCustomClass +33
\ No newline at end of file |