3v4l.org

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

Function %00example%2Fin%2FuVcPi%3A7%240:
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 function %00example%2Fin%2FuVcPi%3A7%240

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

End of function __construct

End of class Example.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.82 ms | 1395 KiB | 15 Q