1--TEST-- 2errmsg: default value for parameters with array type can only be an array or NULL 3--FILE-- 4<?php 5 6class test { 7 function foo(array $a = "s") { 8 } 9} 10 11echo "Done\n"; 12?> 13--EXPECTF-- 14Fatal error: Default value for parameters with array type can only be an array or NULL in %s on line %d 15