3v4l.org

run code in 300+ PHP versions simultaneously
<?PHP // Example of PHP crashing with no errors... interface MyInterface { public function refreshData(); } abstract class MyAbstract implements MyInterface { abstract public function refreshData(); } class MyClass extends MyAbstract { public function refreshData() { print "am in refreshData"; } } //--------------------------------------------
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gKKin
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   DECLARE_CLASS                                            'myabstract'
   14     1        DECLARE_CLASS                                            'myclass', 'myabstract'
   21     2      > RETURN                                                   1

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

End of function refreshdata

End of class MyInterface.

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

End of function refreshdata

End of class MyAbstract.

Class MyClass:
Function refreshdata:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gKKin
function name:  refreshData
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   ECHO                                                     'am+in+refreshData'
   19     1      > RETURN                                                   null

End of function refreshdata

End of class MyClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.59 ms | 1393 KiB | 13 Q