|
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 [email protected])bug55705.diff (last revision 2011-09-16 08:42 UTC by [email protected]) Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-09-16 08:42 UTC] [email protected]
[2011-09-16 08:45 UTC] [email protected]
[2011-09-16 08:46 UTC] [email protected]
-Assigned To:
+Assigned To: dmitry
[2011-09-16 08:46 UTC] [email protected]
[2011-09-16 08:59 UTC] [email protected]
[2011-09-16 20:29 UTC] [email protected]
[2011-09-17 00:15 UTC] [email protected]
[2011-09-17 00:16 UTC] [email protected]
-Status: Assigned
+Status: Closed
[2011-09-17 00:16 UTC] [email protected]
[2012-04-18 09:48 UTC] [email protected]
[2012-07-24 23:39 UTC] [email protected]
[2013-11-17 09:36 UTC] [email protected]
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Mar 18 02:00:02 2026 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