3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.82 ms | 1397 KiB | 13 Q