3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = 0; $end = 10; $comparator = '<'; $comparatorExpression = null; $i = $start; for ( ; ; ) { switch ($comparator) { case '<'; $comparatorExpression = "$i < $end"; break; } if (eval("{$i} {$comparison} {$end}")) { echo $i; $i++; continue; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 6
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 24
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
Branch analysis from position: 24
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
filename:       /in/qokHp
function name:  (null)
number of ops:  26
compiled vars:  !0 = $start, !1 = $end, !2 = $comparator, !3 = $comparatorExpression, !4 = $i, !5 = $comparison
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, 10
    4     2        ASSIGN                                                   !2, '%3C'
    5     3        ASSIGN                                                   !3, null
    7     4        ASSIGN                                                   !4, !0
    8     5      > JMP                                                      ->24
   10     6    >   IS_EQUAL                                                 !2, '%3C'
          7      > JMPNZ                                                    ~11, ->9
          8    > > JMP                                                      ->14
   11     9    >   ROPE_INIT                                     3  ~13     !4
         10        ROPE_ADD                                      1  ~13     ~13, '+%3C+'
         11        ROPE_END                                      2  ~12     ~13, !1
         12        ASSIGN                                                   !3, ~12
   12    13      > JMP                                                      ->14
   15    14    >   ROPE_INIT                                     5  ~17     !4
         15        ROPE_ADD                                      1  ~17     ~17, '+'
         16        ROPE_ADD                                      2  ~17     ~17, !5
         17        ROPE_ADD                                      3  ~17     ~17, '+'
         18        ROPE_END                                      4  ~16     ~17, !1
         19        INCLUDE_OR_EVAL                                  $20     ~16, EVAL
         20      > JMPZ                                                     $20, ->24
   16    21    >   ECHO                                                     !4
   17    22        PRE_INC                                                  !4
   18    23      > JMP                                                      ->24
         24    > > JMPNZ                                                    <true>, ->6
   20    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.22 ms | 1395 KiB | 13 Q