summaryrefslogtreecommitdiff
path: root/Zend/tests/bug20242.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug20242.phpt')
-rwxr-xr-xZend/tests/bug20242.phpt26
1 files changed, 0 insertions, 26 deletions
diff --git a/Zend/tests/bug20242.phpt b/Zend/tests/bug20242.phpt
deleted file mode 100755
index bd140f5806..0000000000
--- a/Zend/tests/bug20242.phpt
+++ /dev/null
@@ -1,26 +0,0 @@
---TEST--
-Bug #20242 (Method call in front of class definition)
---SKIPIF--
-<?php if (version_compare(zend_version(), '2.0.0-dev', '>=')) die('skip ZendEngine 2 does not support this'); ?>
---FILE--
-<?php
-
-// THIS IS A WON'T FIX FOR ZE2
-
-test::show_static();
-
-$t = new test;
-$t->show_method();
-
-class test {
- static function show_static() {
- echo "static\n";
- }
- function show_method() {
- echo "method\n";
- }
-}
-?>
---EXPECT--
-static
-method