3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {} $bar = 0; $foo = new Foo($bar++); echo $bar;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WracQ
function name:  (null)
number of ops:  8
compiled vars:  !0 = $bar, !1 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 0
    6     1        NEW                                              $3      'Foo'
          2        POST_INC                                         ~4      !0
          3        SEND_VAL_EX                                              ~4
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $3
    7     6        ECHO                                                     !0
          7      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.98 ms | 993 KiB | 13 Q