3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = "Polly"; $nameA = "PollyAna"; print "${name} wants a cracker.\n"; print "${'name' . 'A'} wants a cracker.\n"; print "$name wants a cracker.\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0TkrK
function name:  (null)
number of ops:  13
compiled vars:  !0 = $name, !1 = $nameA
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Polly'
    3     1        ASSIGN                                                   !1, 'PollyAna'
    4     2        NOP                                                      
          3        FAST_CONCAT                                      ~4      !0, '+wants+a+cracker.%0A'
          4        ECHO                                                     ~4
    5     5        FETCH_R                      local               ~5      'nameA'
          6        NOP                                                      
          7        FAST_CONCAT                                      ~6      ~5, '+wants+a+cracker.%0A'
          8        ECHO                                                     ~6
    6     9        NOP                                                      
         10        FAST_CONCAT                                      ~7      !0, '+wants+a+cracker.%0A'
         11        ECHO                                                     ~7
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.16 ms | 1392 KiB | 13 Q