3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'test'; $b = "dit is een {$a}"; $c = 'dit is een {$a}'; var_dump($b); var_dump($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GPlgO
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'test'
    5     1        NOP                                                      
          2        FAST_CONCAT                                      ~4      'dit+is+een+', !0
          3        ASSIGN                                                   !1, ~4
    6     4        ASSIGN                                                   !2, 'dit+is+een+%7B%24a%7D'
    8     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
    9     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.55 ms | 1394 KiB | 15 Q