3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=1; for($i = 0; $i = 1000; $i++) { } throw new Exception('dsfs');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 6, Position 2 = 3
Branch analysis from position: 6
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 6, Position 2 = 3
Branch analysis from position: 6
Branch analysis from position: 3
filename:       /in/ZDEX3
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->4
          3    >   PRE_INC                                                  !1
          4    >   ASSIGN                                           ~5      !1, 1000
          5      > JMPNZ                                                    ~5, ->3
    8     6    >   NEW                                              $6      'Exception'
          7        SEND_VAL_EX                                              'dsfs'
          8        DO_FCALL                                      0          
          9      > THROW                                         0          $6
         10*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.98 ms | 1393 KiB | 13 Q