summaryrefslogtreecommitdiff
path: root/tests/classes/bug20120.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/bug20120.phpt')
-rw-r--r--tests/classes/bug20120.phpt26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/classes/bug20120.phpt b/tests/classes/bug20120.phpt
deleted file mode 100644
index 3b64a4ded6..0000000000
--- a/tests/classes/bug20120.phpt
+++ /dev/null
@@ -1,26 +0,0 @@
---TEST--
-Methods via variable name, bug #20120
---SKIPIF--
---FILE--
-<?php
-class bugtest {
- function bug() {
- echo "test\n";
- }
- function refbug() {
- echo "test2\n";
- }
-}
-$method='bug';
-bugtest::$method();
-$foo=&$method;
-$method='refbug';
-bugtest::$foo();
-
-$t = new bugtest;
-$t->$method();
-?>
---EXPECT--
-test
-test2
-test2