|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2018-02-17 08:38 UTC] laruence@php.net
  [2018-02-17 08:38 UTC] laruence@php.net
 
-Status: Open
+Status: Closed
  [2018-02-17 08:39 UTC] laruence@php.net
  [2018-03-05 14:34 UTC] nikic@php.net
  [2018-03-05 14:37 UTC] nikic@php.net
 
-Status: Closed
+Status: Re-Opened
  [2018-03-05 14:37 UTC] nikic@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 00:00:01 2025 UTC | 
Description: ------------ Results in PHP 7.1+ and pre-PHP-7.1 are differs. I'm not sure what I have to expect to see but pre-PHP-7.1 result is more intuitive. Test script: --------------- $arr = [[1]]; array_walk($arr, function(){}); array_map('array_shift', $arr); var_dump($arr); Expected result: ---------------- array(1) { [0]=> array(1) { [0]=> int(1) } } Actual result: -------------- array(1) { [0]=> array(0) { } }