|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-08-25 21:22 UTC] felipe@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: laruence
[2012-08-26 04:03 UTC] laruence@php.net
[2012-08-26 04:03 UTC] laruence@php.net
-Status: Assigned
+Status: Closed
[2012-08-26 04:03 UTC] laruence@php.net
[2013-11-17 09:32 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 23:00:01 2025 UTC |
Description: ------------ I wonder that such syntax is not even supposed to be allowed. See below. Test script: --------------- <?php foreach ([] as list() => $x) { } Actual result: -------------- Program received signal SIGSEGV, Segmentation fault. 0x000000000083af12 in zend_do_end_variable_parse (variable=0x7fffffff8880, type=1, arg_offset=0, tsrm_ls=0x1058090) at /home/felipe/dev/php-src/Zend/zend_compile.c:1303 1303 le = fetch_list_ptr->head; (gdb) p fetch_list_ptr $1 = (zend_llist *) 0x0