php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch bug55705.phpt for Reproducible crash Bug #55705Patch version 2011-09-16 08:45 UTC Return to Bug #55705 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: laruence@php.net--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 of the type callback, none given, called in %s on line %d and defined in %sbug55705.php on line %d |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Tue Dec 03 08:01:28 2024 UTC |