3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array_one = array('key1' => 'value1'); $array_two = array('key1' => 'value1'); var_dump($array_one === $array_two); foreach ($array_two['key2'] as &$entry) { } var_dump($array_one === $array_two); var_dump($array_two);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 126) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/OAqGa
function name:  (null)
number of ops:  19
compiled vars:  !0 = $array_one, !1 = $array_two, !2 = $entry
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'var_dump'
          3        IS_IDENTICAL                                     ~5      !0, !1
          4        SEND_VAL                                                 ~5
          5        DO_ICALL                                                 
    8     6        FETCH_DIM_W                                      $7      !1, 'key2'
          7      > FE_RESET_RW                                      $8      $7, ->10
          8    > > FE_FETCH_RW                                              $8, !2, ->10
          9    > > JMP                                                      ->8
         10    >   FE_FREE                                                  $8
   13    11        INIT_FCALL                                               'var_dump'
         12        IS_IDENTICAL                                     ~9      !0, !1
         13        SEND_VAL                                                 ~9
         14        DO_ICALL                                                 
   15    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.38 ms | 1395 KiB | 15 Q