# This will not execute the given code but will show the PHP usage $php -r 'var_dump($argv);' -h Usage: php [options] [-f] file [args...] [...] # This will pass the '-h 'argument to your script and prevent PHP from showing it's usage $php -r'var_dump($argv);' - - -h array(2) {[0]= string(1) "-" [1]= string(2) "-h "}
# Cela ne va pas ex eacute; cuter le code, mais afficher l'aide de PHP $php -r 'var_dump($argv); '-h Usage: php [options] [-f] file [args...] [...] # Cela va passer l'argument '-h' agrave; votre script, et eacute;viter que PHP ne le traite $php -r 'var_dump($argv); '- - -h array(2) {[0]= string(1) "-" [1]= string(2) "-h "}