1--TEST--
2default argument value in interface implementation
3--FILE--
4<?php
5
6interface test {
7    public function bar();
8}
9
10class foo implements test {
11
12    public function bar($arg = 2) {
13        var_dump($arg);
14    }
15}
16
17$foo = new foo;
18$foo->bar();
19
20?>
21--EXPECT--
22int(2)
23