3v4l.org

run code in 500+ PHP versions simultaneously
<?php class cm404 { function __construct() { exit("construct\n"); } function __destruct() { exit("destruct\n"); } } new cm404();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/imPGg
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   12     0  E >   NEW                                                  $0      'cm404'
          1        DO_FCALL                                          0          
          2        FREE                                                         $0
          3      > RETURN                                                       1

Class cm404:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 61) Position 1 = -2
filename:       /in/imPGg
function name:  __construct
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E > > INIT_FCALL                                                   'exit'
          1*       SEND_VAL                                                     'construct%0A'
          2*       DO_ICALL                                                     
    5     3*     > RETURN                                                       null

End of function __construct

Function __destruct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 61) Position 1 = -2
filename:       /in/imPGg
function name:  __destruct
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E > > INIT_FCALL                                                   'exit'
          1*       SEND_VAL                                                     'destruct%0A'
          2*       DO_ICALL                                                     
    9     3*     > RETURN                                                       null

End of function __destruct

End of class cm404.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
169.01 ms | 3298 KiB | 14 Q