3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'string'; echo "This is a constant string"; echo "This is an interpolated $string"; echo "This is a concatenated " . $string; echo "This is a stacked echo " , $string;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0g0gj
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'string'
    3     1        ECHO                                                     'This+is+a+constant+string'
    4     2        NOP                                                      
          3        FAST_CONCAT                                      ~2      'This+is+an+interpolated+', !0
          4        ECHO                                                     ~2
    5     5        CONCAT                                           ~3      'This+is+a+concatenated+', !0
          6        ECHO                                                     ~3
    6     7        ECHO                                                     'This+is+a+stacked+echo+'
          8        ECHO                                                     !0
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.96 ms | 1397 KiB | 13 Q