mirror of
https://github.com/php/php-src.git
synced 2024-10-03 15:56:11 +00:00
10 lines
272 B
Plaintext
10 lines
272 B
Plaintext
|
--TEST--
|
||
|
Bug #55705 (Omitting a callable typehinted argument causes a segfault)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
function f(callable $c) {}
|
||
|
f();
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Catchable fatal error: Argument 1 passed to f() must be callable, none given, called in %s on line 3 and defined in %s on line %d
|