3v4l.org

run code in 300+ 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.0.0


preferences:
252.99 ms | 997 KiB | 13 Q