xref: /PHP-5.4/Zend/tests/errmsg_013.phpt (revision 0f0fe9c9)
1--TEST--
2errmsg: default value for parameters with array type hint 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 hint can only be an array or NULL in %s on line %d
15