mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
First pass at moving `Zend/tests/bug*` tests to existing sub directories Work towards GH-15631
9 lines
231 B
PHP
9 lines
231 B
PHP
--TEST--
|
|
Bug #69767 (Default parameter value with wrong type segfaults)
|
|
--FILE--
|
|
<?php
|
|
function foo(String $bar = 0) {}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot use int as default value for parameter $bar of type string in %s on line %d
|