3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.09 ms | 1395 KiB | 17 Q