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+1] . "='$cars[$x]'"; echo "\n"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 6
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 6
Branch analysis from position: 18
Branch analysis from position: 6
filename:       /in/PgDO6
function name:  (null)
number of ops:  19
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                                                      ->16
    7     6    >   ADD                                              ~9      !3, 1
          7        FETCH_DIM_R                                      ~10     !0, ~9
          8        ROPE_INIT                                     3  ~13     '%3D%27'
          9        FETCH_DIM_R                                      ~11     !1, !3
         10        ROPE_ADD                                      1  ~13     ~13, ~11
         11        ROPE_END                                      2  ~12     ~13, '%27'
         12        CONCAT                                           ~15     ~10, ~12
         13        ECHO                                                     ~15
    8    14        ECHO                                                     '%0A'
    6    15        PRE_INC                                                  !3
         16    >   IS_SMALLER                                               !3, !2
         17      > JMPNZ                                                    ~17, ->6
   11    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.5 ms | 1394 KiB | 13 Q