3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
338.83 ms | 1399 KiB | 16 Q