3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Example { public function __construct() { function example() { var_dump(__CLASS__); } } } new Example(); example(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uVcPi
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   15     0  E >   NEW                                                  $0      'Example'
          1        DO_FCALL                                          0          
          2        FREE                                                         $0
   16     3        INIT_FCALL_BY_NAME                                           'example'
          4        DO_FCALL                                          0          
   18     5      > RETURN                                                       1

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


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

End of Dynamic Function 0

End of function __construct

End of class Example.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.12 ms | 2218 KiB | 14 Q