diff options
author | Sterling Hughes <sterling@php.net> | 2003-06-30 19:16:36 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2003-06-30 19:16:36 +0000 |
commit | f27571134b77a01e19c3ca084530206a950b1773 (patch) | |
tree | 7981ae1b1a0b1a8c6d8b66b23c7c840f3fc39a7e /tests/classes | |
parent | d0bd54ce6a4bf13097f61ca722a8d97ccdec4c27 (diff) | |
download | php-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.phpt | 26 |
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 |