3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.37 ms | 1393 KiB | 13 Q