3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.15 ms | 2749 KiB | 14 Q