3v4l.org

run code in 300+ PHP versions simultaneously
<?php $greeting = "Howdy"; $audience = "World"; echo 'Single-Quote: '; echo '$greeting, $audience'; echo "\n"; echo "Double-Quote: "; echo "$greeting, $audience"; echo "\n"; echo "Special Double-Quote: "; echo "$greeting, {$audience}!";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XnKdK
function name:  (null)
number of ops:  18
compiled vars:  !0 = $greeting, !1 = $audience
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Howdy'
    4     1        ASSIGN                                                   !1, 'World'
    6     2        ECHO                                                     'Single-Quote%3A++++++++++'
    7     3        ECHO                                                     '%24greeting%2C+%24audience'
    9     4        ECHO                                                     '%0A'
   11     5        ECHO                                                     'Double-Quote%3A++++++++++'
   12     6        ROPE_INIT                                     3  ~5      !0
          7        ROPE_ADD                                      1  ~5      ~5, '%2C+'
          8        ROPE_END                                      2  ~4      ~5, !1
          9        ECHO                                                     ~4
   14    10        ECHO                                                     '%0A'
   16    11        ECHO                                                     'Special+Double-Quote%3A++'
   17    12        ROPE_INIT                                     4  ~8      !0
         13        ROPE_ADD                                      1  ~8      ~8, '%2C+'
         14        ROPE_ADD                                      2  ~8      ~8, !1
         15        ROPE_END                                      3  ~7      ~8, '%21'
         16        ECHO                                                     ~7
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.11 ms | 1447 KiB | 13 Q