Annotation of embedaddon/php/Zend/tests/bug55705.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #55705 (Omitting a callable typehinted argument causes a segfault)
                      3: --FILE--
                      4: <?php
                      5: function f(callable $c) {}
                      6: f();
                      7: ?>
                      8: --EXPECTF--
                      9: 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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>