]> granicus.if.org Git - php/commitdiff
its not a bug - its a feature. No longer allowed in ze2.
authorSterling Hughes <sterling@php.net>
Mon, 30 Jun 2003 19:16:36 +0000 (19:16 +0000)
committerSterling Hughes <sterling@php.net>
Mon, 30 Jun 2003 19:16:36 +0000 (19:16 +0000)
tests/classes/bug20120.phpt [deleted file]

diff --git a/tests/classes/bug20120.phpt b/tests/classes/bug20120.phpt
deleted file mode 100644 (file)
index 3b64a4d..0000000
+++ /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