3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo escapeshellarg('Foo bar " foo bar \' \\\' \\\\\' foo bar'); echo escapeshellarg("Foo bar ' foo bar \" \\\" \\\\\" foo bar");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lFnbH
function name:  (null)
number of ops:  9
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        INIT_FCALL                                               'escapeshellarg'
          5        SEND_VAL                                                 'Foo+bar+%27+foo+bar+%22+%5C%22+%5C%5C%22+foo+bar'
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.47 ms | 939 KiB | 16 Q