|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-11-26 19:03 UTC] phil at philsturgeon dot co dot uk
[2013-11-26 19:09 UTC] requinix@php.net
-Status: Open
+Status: Duplicate
[2013-11-26 19:09 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
Description: ------------ PHP 5.5.6-1+debphp.org~quantal+2 When assigning a variable to a property and then using list() on the result of that I get a segfault with code 139 being the response. I ran this through 3v4l and it happens on everything over PHP 5.4.0. Test script: --------------- <?php class Foo { protected $box; public function setBox(array $box) { // Breaks FPM and gives a 502 due to connection reset by peers list($lat1, $lon1, $lat2, $lon2) = $this->box = $box; return $this; } } $foo = new Foo; $foo->setBox(explode(',', '40.688235,-74.013718,40.756427,-73.958770')); echo "Success"; Expected result: ---------------- "Success" Actual result: -------------- Process exited with code 139.