summaryrefslogtreecommitdiff
path: root/tests/lang/bug18872.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug18872.phpt')
-rw-r--r--tests/lang/bug18872.phpt18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/lang/bug18872.phpt b/tests/lang/bug18872.phpt
deleted file mode 100644
index 2e3dc22c58..0000000000
--- a/tests/lang/bug18872.phpt
+++ /dev/null
@@ -1,18 +0,0 @@
---TEST--
-Bug #18872 (class constant used as default parameter)
---FILE--
-<?php
-class FooBar {
- const BIFF = 3;
-}
-
-function foo($biff = FooBar::BIFF) {
- echo $biff . "\n";
-}
-
-foo();
-foo();
-?>
---EXPECT--
-3
-3