3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { } while (true) $a = new Foo();
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 = 5, Position 2 = 1
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
2 jumps found. (Code = 44) Position 1 = 5, Position 2 = 1
Branch analysis from position: 5
Branch analysis from position: 1
filename:       /in/dPoUq
function name:  (null)
number of ops:  6
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E > > JMP                                                      ->4
    8     1    >   NEW                                              $1      'Foo'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    7     4    > > JMPNZ                                                    <true>, ->1
    8     5    > > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.71 ms | 1397 KiB | 13 Q