Advertisement
Guest User

Untitled

a guest
Jan 14th, 2011
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.83 KB | None | 0 0
  1. H:\xampp\php>php --help
  2. Usage: php [options] [-f] <file> [--] [args...]
  3.        php [options] -r <code> [--] [args...]
  4.        php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...]
  5.        php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...]
  6.        php [options] -- [args...]
  7.        php [options] -a
  8.  
  9.   -a               Run interactively
  10.   -c <path>|<file> Look for php.ini file in this directory
  11.   -n               No php.ini file will be used
  12.   -d foo[=bar]     Define INI entry foo with value 'bar'
  13.   -e               Generate extended information for debugger/profiler
  14.   -f <file>        Parse and execute <file>.
  15.   -h               This help
  16.   -i               PHP information
  17.   -l               Syntax check only (lint)
  18.   -m               Show compiled in modules
  19.   -r <code>        Run PHP <code> without using script tags <?..?>
  20.   -B <begin_code>  Run PHP <begin_code> before processing input lines
  21.   -R <code>        Run PHP <code> for every input line
  22.   -F <file>        Parse and execute <file> for every input line
  23.   -E <end_code>    Run PHP <end_code> after processing all input lines
  24.   -H               Hide any passed arguments from external tools.
  25.   -s               Output HTML syntax highlighted source.
  26.   -v               Version number
  27.   -w               Output source with stripped comments and whitespace.
  28.   -z <file>        Load Zend extension <file>.
  29.  
  30.   args...          Arguments passed to script. Use -- args when first argument
  31.                    starts with - or script is read from stdin
  32.  
  33.   --ini            Show configuration file names
  34.  
  35.   --rf <name>      Show information about function <name>.
  36.   --rc <name>      Show information about class <name>.
  37.   --re <name>      Show information about extension <name>.
  38.   --ri <name>      Show configuration for extension <name>.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement