3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array ( 0 => array ( 0 => array ( 'name' => '0', 'address' => '0', 'gender' => '0', 'men' => '0', 'skill' => '0', ), 1 => array ( 'name' => '1', 'address' => '1', 'gender' => '1', 'men' => '1', 'skill' => '1', ), ), 1 => array ( 0 => array ( 'name' => '2', 'address' => '2', 'gender' => '2', 'men' => '2', 'skill' => '2', ), 1 => array ( 0 => '&nbsp;', 1 => '&nbsp;', 2 => '&nbsp;', 3 => '&nbsp;', 4 => '&nbsp;', ), ), ); $test = array_map( // ⑥ function ($group) { return call_user_func_array( 'array_map', array_merge(array(null), $group) ); },$test); var_export($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L7uLM
function name:  (null)
number of ops:  11
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   45     1        INIT_FCALL                                               'array_map'
   46     2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FL7uLM%3A46%240'
   51     3        SEND_VAL                                                 ~2
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
   45     6        ASSIGN                                                   !0, $3
   53     7        INIT_FCALL                                               'var_export'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FL7uLM%3A46%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L7uLM
function name:  {closure}
number of ops:  11
compiled vars:  !0 = $group
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   46     0  E >   RECV                                             !0      
   47     1        INIT_FCALL                                               'array_map'
   49     2        INIT_FCALL                                               'array_merge'
          3        SEND_VAL                                                 <array>
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6        SEND_ARRAY                                               $1
          7        CHECK_UNDEF_ARGS                                         
          8        DO_FCALL                                      0  $2      
          9      > RETURN                                                   $2
   51    10*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FL7uLM%3A46%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.31 ms | 1395 KiB | 19 Q