3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(function_exists('define')); define('A', 100); $f = 'define'; $f('B', $f); class A { }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oDCus
function name:  (null)
number of ops:  16
compiled vars:  !0 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'function_exists'
          2        SEND_VAL                                                 'define'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'define'
          7        SEND_VAL                                                 'A'
          8        SEND_VAL                                                 100
          9        DO_ICALL                                                 
    7    10        ASSIGN                                                   !0, 'define'
    9    11        INIT_DYNAMIC_CALL                                        !0
         12        SEND_VAL_EX                                              'B'
         13        SEND_VAR_EX                                              !0
         14        DO_FCALL                                      0          
   11    15      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.41 ms | 1394 KiB | 19 Q