Return to errmsg_013.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
1.1 misho 1: --TEST-- 2: errmsg: default value for parameters with array type hint can only be an array or NULL 3: --FILE-- 4: <?php 5: 6: class test { 7: function foo(array $a = "s") { 8: } 9: } 10: 11: echo "Done\n"; 12: ?> 13: --EXPECTF-- 14: Fatal error: Default value for parameters with array type hint can only be an array or NULL in %s on line %d