|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesbug55705.phpt (last revision 2011-09-16 08:59 UTC by laruence@php.net)bug55705.diff (last revision 2011-09-16 08:42 UTC by laruence@php.net) Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-09-16 08:42 UTC] laruence@php.net
[2011-09-16 08:45 UTC] laruence@php.net
[2011-09-16 08:46 UTC] laruence@php.net
-Assigned To:
+Assigned To: dmitry
[2011-09-16 08:46 UTC] laruence@php.net
[2011-09-16 08:59 UTC] laruence@php.net
[2011-09-16 20:29 UTC] nikic@php.net
[2011-09-17 00:15 UTC] felipe@php.net
[2011-09-17 00:16 UTC] felipe@php.net
-Status: Assigned
+Status: Closed
[2011-09-17 00:16 UTC] felipe@php.net
[2012-04-18 09:48 UTC] laruence@php.net
[2012-07-24 23:39 UTC] rasmus@php.net
[2013-11-17 09:36 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ Omitting a callable typehinted argument from a function call causes a segmentation fault. Configured with: export MACOSX_DEPLOYMENT_TARGET=10.7 CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" configure --prefix=/usr/local/php-5.4.0beta1 Test script: --------------- <?php function f(callable $c) {} f(); Expected result: ---------------- Catchable fatal error: Argument 1 passed to f() must be of the type callable, none given, called in %s on line 4 and defined in %s on line 3 Actual result: -------------- Segmentation fault: 11