xref: /PHP-7.4/Zend/tests/errmsg_013.phpt (revision 782352c5)
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