diff options
Diffstat (limited to 'tests/lang/bug21849.phpt')
-rw-r--r-- | tests/lang/bug21849.phpt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/lang/bug21849.phpt b/tests/lang/bug21849.phpt deleted file mode 100644 index 30b311320b..0000000000 --- a/tests/lang/bug21849.phpt +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -Bug #21849 (self::constant doesn't work as method's default parameter) ---FILE-- -<?php -class foo { - const bar = "fubar\n"; - - function foo($arg = self::bar) { - echo $arg; - } -} - -new foo(); -?> ---EXPECT-- -fubar |