3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Test { } class Test2 extends Test { public function __destruct() { parent::__destruct(); } } new Test2;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E4STq
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   NEW                                                  $0      'Test2'
          1        DO_FCALL                                          0          
          2        FREE                                                         $0
   11     3      > RETURN                                                       1

Class Test: [no user functions]
Class Test2:
Function __destruct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E4STq
function name:  __destruct
number of ops:  3
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   INIT_STATIC_METHOD_CALL                                      '__destruct'
          1        DO_FCALL                                          0          
    8     2      > RETURN                                                       null

End of function __destruct

End of class Test2.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.87 ms | 2126 KiB | 13 Q