3v4l.org

run code in 500+ PHP versions simultaneously
<?php // https://bugs.php.net/bug.php?id=71927 error_reporting(0); // define('great','my'); $great='fantastic'; $my='my value'; echo "This is ${great }\n"; echo "This is ${ great}\n"; echo "This is ${ great }\n"; echo "This is ${great}\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3i2El
function name:  (null)
number of ops:  28
compiled vars:  !0 = $great, !1 = $my
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                                   'error_reporting'
          1        SEND_VAL                                                     0
          2        DO_ICALL                                                     
    7     3        ASSIGN                                                       !0, 'fantastic'
    8     4        ASSIGN                                                       !1, 'my+value'
   10     5        ROPE_INIT                                         3  ~8      'This+is+'
          6        FETCH_CONSTANT                                       ~5      'great'
          7        FETCH_R                          local               ~6      ~5
          8        ROPE_ADD                                          1  ~8      ~8, ~6
          9        ROPE_END                                          2  ~7      ~8, '%0A'
         10        ECHO                                                         ~7
   11    11        ROPE_INIT                                         3  ~13     'This+is+'
         12        FETCH_CONSTANT                                       ~10     'great'
         13        FETCH_R                          local               ~11     ~10
         14        ROPE_ADD                                          1  ~13     ~13, ~11
         15        ROPE_END                                          2  ~12     ~13, '%0A'
         16        ECHO                                                         ~12
   12    17        ROPE_INIT                                         3  ~18     'This+is+'
         18        FETCH_CONSTANT                                       ~15     'great'
         19        FETCH_R                          local               ~16     ~15
         20        ROPE_ADD                                          1  ~18     ~18, ~16
         21        ROPE_END                                          2  ~17     ~18, '%0A'
         22        ECHO                                                         ~17
   13    23        ROPE_INIT                                         3  ~21     'This+is+'
         24        ROPE_ADD                                          1  ~21     ~21, !0
         25        ROPE_END                                          2  ~20     ~21, '%0A'
         26        ECHO                                                         ~20
         27      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.27 ms | 2447 KiB | 14 Q