3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'x'; echo "..$a.."; echo "..'$a'.."; echo '..$a..';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tKFPi
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'x'
    3     1        ROPE_INIT                                     3  ~3      '..'
          2        ROPE_ADD                                      1  ~3      ~3, !0
          3        ROPE_END                                      2  ~2      ~3, '..'
          4        ECHO                                                     ~2
    4     5        ROPE_INIT                                     3  ~6      '..%27'
          6        ROPE_ADD                                      1  ~6      ~6, !0
          7        ROPE_END                                      2  ~5      ~6, '%27..'
          8        ECHO                                                     ~5
    5     9        ECHO                                                     '..%24a..'
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.44 ms | 1392 KiB | 13 Q