3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Foo { abstract public function doIt(); } class ConcreteFoo extends Foo { public function doIt() {} } $foo - new Foo;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QbSPg
function name:  (null)
number of ops:  5
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $1      'Foo'
          1        DO_FCALL                                      0          
          2        SUB                                              ~3      !0, $1
          3        FREE                                                     ~3
          4      > RETURN                                                   1

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

End of function doit

End of class Foo.

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

End of function doit

End of class ConcreteFoo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.01 ms | 1384 KiB | 13 Q