3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vmocO
function name:  (null)
number of ops:  27
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   26     0  E >   ASSIGN                                                   !0, <array>
   28     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'deeparraysearch'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 'one'
          5        DO_FCALL                                      0  $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
   29     8        INIT_FCALL                                               'print_r'
          9        INIT_FCALL                                               'deeparraysearch'
         10        SEND_VAR                                                 !0
         11        SEND_VAL                                                 'one'
         12        SEND_VAL                                                 'two'
         13        DO_FCALL                                      0  $4      
         14        SEND_VAR                                                 $4
         15        DO_ICALL                                                 
   30    16        INIT_FCALL                                               'print_r'
         17        INIT_FCALL                                               'deeparraysearch'
         18        SEND_VAR                                                 !0
         19        SEND_VAL                                                 'one'
         20        SEND_VAL                                                 'two'
         21        SEND_VAL                                                 'three'
         22        DO_FCALL                                      0  $6      
         23        SEND_VAR                                                 $6
         24        DO_ICALL                                                 
   32    25        ECHO                                                     '%0A'
         26      > RETURN                                                   1

Function deeparraysearch:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vmocO
function name:  deepArraySearch
number of ops:  24
compiled vars:  !0 = $array, !1 = $keys, !2 = $nextKey
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        RECV_VARIADIC                                    !1      
   12     2        BOOL_NOT                                         ~3      !1
          3      > JMPZ                                                     ~3, ->5
   13     4    > > RETURN                                                   !0
   16     5    >   INIT_FCALL                                               'array_shift'
          6        SEND_REF                                                 !1
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !2, $4
   19     9        FETCH_DIM_R                                      ~6      !0, !2
         10        TYPE_CHECK                                  128  ~7      ~6
         11        BOOL_NOT                                         ~8      ~7
         12      > JMPZ                                                     ~8, ->15
   20    13    >   FETCH_DIM_R                                      ~9      !0, !2
         14      > RETURN                                                   ~9
   23    15    >   INIT_FCALL_BY_NAME                                       'deepArraySearch'
         16        CHECK_FUNC_ARG                                           
         17        FETCH_DIM_FUNC_ARG                               $10     !0, !2
         18        SEND_FUNC_ARG                                            $10
         19        SEND_UNPACK                                              !1
         20        CHECK_UNDEF_ARGS                                         
         21        DO_FCALL                                      1  $11     
         22      > RETURN                                                   $11
   24    23*     > RETURN                                                   null

End of function deeparraysearch

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
233.29 ms | 975 KiB | 18 Q