Merge branch 'PHP-5.4'

This commit is contained in:
Xinchen Hui 2012-10-23 17:29:28 +08:00
commit ad476bde9b

View File

@ -9,13 +9,13 @@ define("TEST", "123");
class Base {
const DUMMY = "XXX";
public function foo($var=TEST, $more=null) { return true; }
public function bar($var, $more=self::DUMMY) { return true; }
public function bar($more=self::DUMMY) { return true; }
}
class Child extends Base {
const DUMMY = "DDD";
public function foo($var=TEST) { return true; }
public function bar() { return true; }
public function foo($var=TEST, array $more = array()) { return true; }
public function bar($var, $more=self::DUMMY) { return true; }
}
?>
--EXPECT--