3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("one", "two", "three"); foreach($arr as &$v){ $v .= "_clgt?"; } //var_dump($arr); reset($arr); foreach($arr as $k => $v){ echo $k . " > " . $v; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 2, Position 2 = 5
Branch analysis from position: 2
2 jumps found. (Code = 126) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 5
filename:       /in/6umZn
function name:  (null)
number of ops:  18
compiled vars:  !0 = $arr, !1 = $v, !2 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1      > FE_RESET_RW                                      $4      !0, ->5
          2    > > FE_FETCH_RW                                              $4, !1, ->5
    4     3    >   ASSIGN_OP                                     8          !1, '_clgt%3F'
    3     4      > JMP                                                      ->2
          5    >   FE_FREE                                                  $4
    7     6        INIT_FCALL                                               'reset'
          7        SEND_REF                                                 !0
          8        DO_ICALL                                                 
    8     9      > FE_RESET_R                                       $7      !0, ->16
         10    > > FE_FETCH_R                                       ~8      $7, !1, ->16
         11    >   ASSIGN                                                   !2, ~8
    9    12        CONCAT                                           ~10     !2, '+%3E+'
         13        CONCAT                                           ~11     ~10, !1
         14        ECHO                                                     ~11
    8    15      > JMP                                                      ->10
         16    >   FE_FREE                                                  $7
   10    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.12 ms | 1387 KiB | 15 Q