3v4l.org

run code in 300+ PHP versions simultaneously
<?php $model = array("id","car1","car2","car3"); $cars=array("Volvo","BMW","Toyota"); $arrlength=count($cars); for($x=0;$x<$arrlength;$x++) { echo $model[$x] . "=" . $cars[$x]; echo "\n"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 6
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 6
Branch analysis from position: 15
Branch analysis from position: 6
filename:       /in/LP7ST
function name:  (null)
number of ops:  16
compiled vars:  !0 = $model, !1 = $cars, !2 = $arrlength, !3 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        COUNT                                            ~6      !1
          3        ASSIGN                                                   !2, ~6
    6     4        ASSIGN                                                   !3, 0
          5      > JMP                                                      ->13
    7     6    >   FETCH_DIM_R                                      ~9      !0, !3
          7        CONCAT                                           ~10     ~9, '%3D'
          8        FETCH_DIM_R                                      ~11     !1, !3
          9        CONCAT                                           ~12     ~10, ~11
         10        ECHO                                                     ~12
    8    11        ECHO                                                     '%0A'
    6    12        PRE_INC                                                  !3
         13    >   IS_SMALLER                                               !3, !2
         14      > JMPNZ                                                    ~14, ->6
   11    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.63 ms | 1394 KiB | 13 Q