3v4l.org

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

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

End of function __destruct

End of class cywm.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.33 ms | 1397 KiB | 13 Q