3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IFoo { public function bar(); } abstract class ABaz implements IFoo { abstract public function bar(); } class CBaz implements IFoo { public function bar() { echo 'Hello!'; } } $a = new CBaz(); $a->bar();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZQgj0
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   DECLARE_CLASS                                            'abaz'
   10     1        DECLARE_CLASS                                            'cbaz'
   18     2        NEW                                              $1      'CBaz'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $1
   19     5        INIT_METHOD_CALL                                         !0, 'bar'
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

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

End of function bar

End of class IFoo.

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

End of function bar

End of class ABaz.

Class CBaz:
Function bar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZQgj0
function name:  bar
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   ECHO                                                     'Hello%21'
   15     1      > RETURN                                                   null

End of function bar

End of class CBaz.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.62 ms | 1385 KiB | 13 Q