3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dook = "farts"; $$dook = "shit"; $$$dook = "aids"; echo "$dook\n"; echo "$farts\n"; echo "$shit\n"; var_dump($dook == $farts);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/68dfB
function name:  (null)
number of ops:  20
compiled vars:  !0 = $dook, !1 = $farts, !2 = $shit
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'farts'
    3     1        FETCH_W                      local               $4      !0
          2        ASSIGN                                                   $4, 'shit'
    4     3        FETCH_R                      local               ~6      !0
          4        FETCH_W                      local               $7      ~6
          5        ASSIGN                                                   $7, 'aids'
    5     6        NOP                                                      
          7        FAST_CONCAT                                      ~9      !0, '%0A'
          8        ECHO                                                     ~9
    6     9        NOP                                                      
         10        FAST_CONCAT                                      ~10     !1, '%0A'
         11        ECHO                                                     ~10
    7    12        NOP                                                      
         13        FAST_CONCAT                                      ~11     !2, '%0A'
         14        ECHO                                                     ~11
    8    15        INIT_FCALL                                               'var_dump'
         16        IS_EQUAL                                         ~12     !0, !1
         17        SEND_VAL                                                 ~12
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.01 ms | 1394 KiB | 15 Q