3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = "variable"; $a = "double-quoted string"; $b = 'single-quoted string'; $c = "double-quoted without " . $var; $d = "double-quoted with simple $var"; $e = "double-quoted with complex {$var} 1"; $f = "double-quoted with complex ${var} 2";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6OFgd
function name:  (null)
number of ops:  17
compiled vars:  !0 = $var, !1 = $a, !2 = $b, !3 = $c, !4 = $d, !5 = $e, !6 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'variable'
    5     1        ASSIGN                                                   !1, 'double-quoted+string'
    6     2        ASSIGN                                                   !2, 'single-quoted+string'
    7     3        CONCAT                                           ~10     'double-quoted+without+', !0
          4        ASSIGN                                                   !3, ~10
    8     5        NOP                                                      
          6        FAST_CONCAT                                      ~12     'double-quoted+with+simple+', !0
          7        ASSIGN                                                   !4, ~12
    9     8        ROPE_INIT                                     3  ~15     'double-quoted+with+complex+'
          9        ROPE_ADD                                      1  ~15     ~15, !0
         10        ROPE_END                                      2  ~14     ~15, '+1'
         11        ASSIGN                                                   !5, ~14
   10    12        ROPE_INIT                                     3  ~19     'double-quoted+with+complex+'
         13        ROPE_ADD                                      1  ~19     ~19, !0
         14        ROPE_END                                      2  ~18     ~19, '+2'
         15        ASSIGN                                                   !6, ~18
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.96 ms | 1393 KiB | 13 Q