Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 713a3fc58c
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.217 kB
--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
Jump to Line
Something went wrong with that request. Please try again.