|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-06-25 08:33 UTC] nikic@php.net
-Status: Open
+Status: Duplicate
[2020-06-25 08:33 UTC] nikic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 18 10:00:02 2025 UTC |
Description: ------------ The example below causes a segfault when it should error gracefully or loop forever. Test script: --------------- <?php function fun($str) { array_map(fn () => fun($str), $str); } fun(['hello world!']); Expected result: ---------------- Error, or no output, or endless looping Actual result: -------------- SegFault