3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 1/0; for ($i = 10; $i <= 30; $i++) { echo $i." ".intval("Infinity", $i)."\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 = 4
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 4
Branch analysis from position: 15
Branch analysis from position: 4
filename:       /in/keTn1
function name:  (null)
number of ops:  16
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DIV                                              ~1      1, 0
          1        ECHO                                                     ~1
    4     2        ASSIGN                                                   !0, 10
          3      > JMP                                                      ->13
    5     4    >   CONCAT                                           ~3      !0, '+'
          5        INIT_FCALL                                               'intval'
          6        SEND_VAL                                                 'Infinity'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        CONCAT                                           ~5      ~3, $4
         10        CONCAT                                           ~6      ~5, '%0A'
         11        ECHO                                                     ~6
    4    12        PRE_INC                                                  !0
         13    >   IS_SMALLER_OR_EQUAL                                      !0, 30
         14      > JMPNZ                                                    ~8, ->4
    6    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.51 ms | 1386 KiB | 15 Q