summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/tests/commands/0101_info.test
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/phpdbg/tests/commands/0101_info.test')
-rw-r--r--sapi/phpdbg/tests/commands/0101_info.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/sapi/phpdbg/tests/commands/0101_info.test b/sapi/phpdbg/tests/commands/0101_info.test
new file mode 100644
index 0000000000..397a45c992
--- /dev/null
+++ b/sapi/phpdbg/tests/commands/0101_info.test
@@ -0,0 +1,19 @@
+#################################################
+# name: info
+# purpose: test info commands
+# expect: TEST::FORMAT
+# options: -rr
+#################################################
+#[User Classes (%d)]
+#User Class test (3)
+#|---- in phpdbginit code on line %d
+#################################################
+<:
+class test {
+ public function testMethod(){}
+ private function testPrivateMethod(){}
+ protected function testProtectedMethod(){}
+}
+:>
+info classes
+q