3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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/VQVtt
function name:  (null)
number of ops:  10
compiled vars:  !0 = $A
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'UPPER_A'
          2        SEND_VAL                                                 'A'
          3        DO_ICALL                                                 
    3     4        FETCH_CONSTANT                                   ~2      'UPPER_A'
          5        FETCH_CONSTANT                                   ~4      'UPPER_A'
          6        FETCH_W                      local               $3      ~2
          7        ASSIGN                                                   $3, ~4
    4     8        ECHO                                                     !0
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.09 ms | 1394 KiB | 15 Q