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) { if($key == "ID" && $item == 3124) { 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/54aU9
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>
   30     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
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
Branch analysis from position: 6
filename:       /in/54aU9
function name:  test
number of ops:  12
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        IS_EQUAL                                         ~2      !1, 'ID'
          3      > JMPZ_EX                                          ~2      ~2, ->6
          4    >   IS_EQUAL                                         ~3      !0, 3124
          5        BOOL                                             ~2      ~3
          6    > > JMPZ                                                     ~2, ->11
   26     7    >   CONCAT                                           ~4      !1, '+%3D+'
          8        CONCAT                                           ~5      ~4, !0
          9        CONCAT                                           ~6      ~5, '%0A'
         10        ECHO                                                     ~6
   28    11    > > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.32 ms | 1395 KiB | 15 Q