3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); $arr[5] = array ( "ID" => 3123, "IS_NEW" => 1, "OrgType" => 5, "Surname" => 'Сабиров', "Name" => 'Раиль', "Patronymic" => 'Анварович' ); $arr[6] = array ( "ID" => 3124, "IS_NEW" => 1, "OrgType" => 5, "Surname" => "Сабиров", "Name" => "Раиль", "Patronymic" => "Анварович" ); function test($item, $key) { echo($key.' = '. $item . "\n"); } array_walk_recursive($arr, 'test');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/trbAp
function name:  (null)
number of ops:  10
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, 5
    5     2        OP_DATA                                                  <array>
   13     3        ASSIGN_DIM                                               !0, 6
   15     4        OP_DATA                                                  <array>
   27     5        INIT_FCALL                                               'array_walk_recursive'
          6        SEND_REF                                                 !0
          7        SEND_VAL                                                 'test'
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/trbAp
function name:  test
number of ops:  7
compiled vars:  !0 = $item, !1 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   24     2        CONCAT                                           ~2      !1, '+%3D+'
          3        CONCAT                                           ~3      ~2, !0
          4        CONCAT                                           ~4      ~3, '%0A'
          5        ECHO                                                     ~4
   25     6      > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.69 ms | 1395 KiB | 15 Q