summaryrefslogtreecommitdiff
path: root/tests/php/phpt/class_obj/001.phpt
diff options
context:
space:
mode:
authorvalmat <ufabiz@gmail.com>2014-03-28 00:42:09 +0600
committervalmat <ufabiz@gmail.com>2014-03-28 00:42:09 +0600
commit28152192b85cbe9bf5ea08ebe8c706d12e2e13e5 (patch)
treed8a5cbee7e39f6b21c0e698d1ac10ac764b00193 /tests/php/phpt/class_obj/001.phpt
parentf56cff9e4f67a949e6f0ae35ca63aaaea16d9a41 (diff)
add test: class_obj/003-comparable.phpt
Diffstat (limited to 'tests/php/phpt/class_obj/001.phpt')
-rw-r--r--tests/php/phpt/class_obj/001.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/php/phpt/class_obj/001.phpt b/tests/php/phpt/class_obj/001.phpt
new file mode 100644
index 0000000..b22a44c
--- /dev/null
+++ b/tests/php/phpt/class_obj/001.phpt
@@ -0,0 +1,14 @@
+--TEST--
+Test constructor & destructor
+--SKIPIF--
+<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?>
+--FILEEOF--
+<?php
+
+new TestBaseClass\MyClass();
+
+
+echo PHP_EOL;
+--EXPECT--
+MyCustomClass::MyCustomClass()
+MyCustomClass::~MyCustomClass \ No newline at end of file