1--TEST-- 2Bug #55705 (Omitting a callable typehinted argument causes a segfault) 3--FILE-- 4<?php 5function f(callable $c) {} 6f(); 7?> 8--EXPECTF-- 9Fatal error: Uncaught TypeError: Argument 1 passed to f() must be callable, none given, called in %s on line 3 and defined in %s:%d 10Stack trace: 11#0 %s(%d): f() 12#1 {main} 13 thrown in %s on line %d 14