3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domain = 'https://kgopen.baidu.com/user/noinfo?code=2'; //$ip = escapeshellcmd($domain); //echo $ip.'\n'; $domain = "`ls`"; $ip = escapeshellarg($domain); echo $domain;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/duiNt
function name:  (null)
number of ops:  8
compiled vars:  !0 = $domain, !1 = $ip
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fkgopen.baidu.com%2Fuser%2Fnoinfo%3Fcode%3D2'
    5     1        ASSIGN                                                   !0, '%60ls%60'
    6     2        INIT_FCALL                                               'escapeshellarg'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    7     6        ECHO                                                     !0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.77 ms | 1393 KiB | 15 Q