summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_013.phpt
blob: d1f248ec281217a3985b93e6dc43077b03861933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
errmsg: default value for parameters with array type hint can only be an array or NULL
--FILE--
<?php

class test {
	function foo(array $a = "s") {
	}
}

echo "Done\n";
?>
--EXPECTF--	
Fatal error: Default value for parameters with array type hint can only be an array or NULL in %s on line %d