3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Lol { const TEST = 'Lol'; } class Foo { const TEST = 'Foo'; } class Bar {} new Foo(); new Bar();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/20GEf
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   NEW                                              $0      'Foo'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
   16     3        NEW                                              $2      'Bar'
          4        DO_FCALL                                      0          
          5        FREE                                                     $2
          6      > RETURN                                                   1

Class Lol: [no user functions]
Class Foo: [no user functions]
Class Bar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.52 ms | 1392 KiB | 13 Q