3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {} function Foo() {} const Foo = 'Foo'; const foo = 'foo'; var_dump(Foo, foo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JHoMV
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CONST                                            'Foo', 'Foo'
          1        DECLARE_CONST                                            'foo', 'foo'
    4     2        INIT_FCALL                                               'var_dump'
          3        FETCH_CONSTANT                                   ~0      'Foo'
          4        SEND_VAL                                                 ~0
          5        FETCH_CONSTANT                                   ~1      'foo'
          6        SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JHoMV
function name:  Foo
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > RETURN                                                   null

End of function foo

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
242.89 ms | 1394 KiB | 15 Q