1--TEST-- 2ZE2 An interface method allows additional default arguments 3--FILE-- 4<?php 5 6error_reporting(4095); 7 8interface test { 9 public function bar(); 10} 11 12class foo implements test { 13 14 public function bar($foo = NULL) { 15 echo "foo\n"; 16 } 17} 18 19$foo = new foo; 20$foo->bar(); 21 22?> 23--EXPECT-- 24foo 25