|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-09-10 09:52 UTC] leight+bugs dot php at gmail dot com
[2013-09-10 10:43 UTC] piotr dot m at shwrm dot com
[2013-09-10 11:11 UTC] johannes@php.net
-Status: Open
+Status: Feedback
[2013-09-10 11:11 UTC] johannes@php.net
[2013-09-10 12:43 UTC] piotr dot m at shwrm dot com
-Status: Feedback
+Status: Open
[2013-09-10 12:43 UTC] piotr dot m at shwrm dot com
[2013-09-10 14:57 UTC] laruence@php.net
-Status: Open
+Status: Feedback
[2013-09-10 14:57 UTC] laruence@php.net
[2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 09:00:01 2025 UTC |
Description: ------------ Call to @list on an array returned by function_get_args() will incorrectly fill variables (only last one is filled) 80% of the time and will cause a Segmentation fault (11) on the other 20%. PHP 5.5.3 run on Apache 2.2.22 Test script: --------------- function a() { $opts = func_get_args(); @list($a, $b, $c) = $opts; var_dump($a, $b, $c); } a('1','22', '333'); Expected result: ---------------- string '1' (length=1) string '22' (length=2) string '333' (length=3) Actual result: -------------- null null string '333' (length=3) Or segfault: [Tue Sep 10 10:57:46 2013] [notice] child pid 32315 exit signal Segmentation fault (11), possible coredump in /etc/apache2