3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); define('UPPER_A', 'A'); ${UPPER_A} = UPPER_A; echo $A;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/refBg
function name:  (null)
number of ops:  13
compiled vars:  !0 = $A
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'define'
          4        SEND_VAL                                                 'UPPER_A'
          5        SEND_VAL                                                 'A'
          6        DO_ICALL                                                 
    5     7        FETCH_CONSTANT                                   ~3      'UPPER_A'
          8        FETCH_CONSTANT                                   ~5      'UPPER_A'
          9        FETCH_W                      local               $4      ~3
         10        ASSIGN                                                   $4, ~5
    6    11        ECHO                                                     !0
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.29 ms | 1394 KiB | 17 Q