xref: /PHP-7.0/Zend/tests/bug69767.phpt (revision 2a7eeff3)
1--TEST--
2Bug #69767 (Default parameter value with wrong type segfaults)
3--FILE--
4<?php
5function foo(String $bar = 0) {}
6?>
7--EXPECTF--
8Fatal error: Default value for parameters with a string type can only be string or NULL in %sbug69767.php on line %d
9