summaryrefslogtreecommitdiff
path: root/Zend/tests/bug55705.phpt
blob: 69220bfdeb785b42f7ee83a11a6607e5f0c49af3 (plain)
1
2
3
4
5
6
7
8
9
--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