|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-04-17 08:45 UTC] requinix@php.net
-Status: Open
+Status: Feedback
[2017-04-17 08:45 UTC] requinix@php.net
[2017-04-17 09:33 UTC] nikic@php.net
-Status: Feedback
+Status: Verified
[2017-04-17 09:33 UTC] nikic@php.net
[2017-04-17 12:27 UTC] laruence@php.net
[2017-04-17 12:27 UTC] laruence@php.net
-Status: Verified
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 21:00:01 2025 UTC |
Description: ------------ When running the following script a 'Segmentation fault' error is being displayed and the script is stoped. php -v PHP 7.1.3-3+0~20170325135815.21+jessie~1.gbpafff68 (cli) (built: Mar 25 2017 14:35:42) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.1.3-3+0~20170325135815.21+jessie~1.gbpafff68, Copyright (c) 1999-2017, by Zend Technologies Test script: --------------- <?php function small_numbers() { return [0,1,2]; } list ($zero, $one, $two) = small_numbers(); print_r(array_keys(get_defined_vars())); Expected result: ---------------- Segmentation fault Actual result: -------------- Array ( [0] => _GET [1] => _POST [2] => _COOKIE [3] => _FILES [4] => zero [5] => one [6] => two )