summaryrefslogtreecommitdiff
path: root/tests/classes
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2003-06-30 19:16:36 +0000
committerSterling Hughes <sterling@php.net>2003-06-30 19:16:36 +0000
commitf27571134b77a01e19c3ca084530206a950b1773 (patch)
tree7981ae1b1a0b1a8c6d8b66b23c7c840f3fc39a7e /tests/classes
parentd0bd54ce6a4bf13097f61ca722a8d97ccdec4c27 (diff)
downloadphp-git-f27571134b77a01e19c3ca084530206a950b1773.tar.gz
its not a bug - its a feature. No longer allowed in ze2.
Diffstat (limited to 'tests/classes')
-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