3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo escapeshellarg('Foo bar " foo bar \' \\\' \\\\\' foo bar'); echo "\n"; echo escapeshellarg("#&;`|*?~<>^()[]{}$\, \x0A\xFF");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ipmnQ
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'escapeshellarg'
          1        SEND_VAL                                                 'Foo+bar+%22+foo+bar+%27+%5C%27+%5C%5C%27+foo+bar'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    4     4        ECHO                                                     '%0A'
    5     5        INIT_FCALL                                               'escapeshellarg'
          6        SEND_VAL                                                 '%23%26%3B%60%7C%2A%3F%7E%3C%3E%5E%28%29%5B%5D%7B%7D%24%5C%2C+%0A%FF'
          7        DO_ICALL                                         $1      
          8        ECHO                                                     $1
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.07 ms | 1394 KiB | 15 Q