3v4l.org

run code in 300+ PHP versions simultaneously
<?php $liste = array("Casablanca","Fes","Kenitra","Rabat"); $max=sizeof($liste); for($i=0;$i<$max;$i++){ echo"<option value='$i'>$liste[$i]</option>"; } echo"</select>"; echo"</form>";
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 = 5
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 5
Branch analysis from position: 15
Branch analysis from position: 5
filename:       /in/LR3Cj
function name:  (null)
number of ops:  18
compiled vars:  !0 = $liste, !1 = $max, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        COUNT                                            ~4      !0
          2        ASSIGN                                                   !1, ~4
    7     3        ASSIGN                                                   !2, 0
          4      > JMP                                                      ->13
    8     5    >   ROPE_INIT                                     5  ~9      '%3Coption+value%3D%27'
          6        ROPE_ADD                                      1  ~9      ~9, !2
          7        ROPE_ADD                                      2  ~9      ~9, '%27%3E'
          8        FETCH_DIM_R                                      ~7      !0, !2
          9        ROPE_ADD                                      3  ~9      ~9, ~7
         10        ROPE_END                                      4  ~8      ~9, '%3C%2Foption%3E'
         11        ECHO                                                     ~8
    7    12        PRE_INC                                                  !2
         13    >   IS_SMALLER                                               !2, !1
         14      > JMPNZ                                                    ~13, ->5
   10    15    >   ECHO                                                     '%3C%2Fselect%3E'
   11    16        ECHO                                                     '%3C%2Fform%3E'
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.64 ms | 1393 KiB | 13 Q