diff options
| author | Andi Gutmans <andi@php.net> | 2003-12-23 11:06:50 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2003-12-23 11:06:50 +0000 |
| commit | 3eadb12f7e40ebbe3a3b3975ecae9d8a9a96f5a6 (patch) | |
| tree | 3fa38b9c6f4d5630a66338197ff474182f5935a9 /sapi | |
| parent | c6cb00fe592c54e328365b2aed865beecf5d0e0e (diff) | |
| download | php-git-3eadb12f7e40ebbe3a3b3975ecae9d8a9a96f5a6.tar.gz | |
- Commit fixes to PHP man page
Diffstat (limited to 'sapi')
| -rw-r--r-- | sapi/cli/php.1.in | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sapi/cli/php.1.in b/sapi/cli/php.1.in index 551b638897..88a7746ad0 100644 --- a/sapi/cli/php.1.in +++ b/sapi/cli/php.1.in @@ -283,15 +283,15 @@ The configuration file for the CLI version of PHP. .B php.ini The standard configuration file will only be used when .B php\-cli.ini -cannot not be found. +cannot be found. .SH EXAMPLES .TP 5 \fIphp -r 'echo "Hello World\\n";'\fP -This command simply writes the text "Hello World" to stabdard out. +This command simply writes the text "Hello World" to standard out. .TP \fIphp \-r 'print_r(gd_info());'\fP This shows the configuration of your gd extension. You can use this -to easily check which imag formats you can use. If you have any +to easily check which image formats you can use. If you have any dynamic modules you may want to use the same ini file that php uses when executed from your webserver. There are more extensions which have such a function. For dba use: @@ -299,12 +299,12 @@ have such a function. For dba use: \fIphp \-r 'print_r(dba_handlers(1));'\fP .RE .TP -\fIphp \-R'echo strip_tags($argn)."\\n";\fP +\fIphp \-R 'echo strip_tags($argn)."\\n";'\fP This PHP command strips off the HTML tags line by line and outputs the -result. To see how it works you can first look at the following PHP command ' -\fIphp \-d html_errors=1 \-i\fP' which uses PHP to output HTML formatted +result. To see how it works you can first look at the following PHP command +\'\fIphp \-d html_errors=1 \-i\fP\' which uses PHP to output HTML formatted configuration information. If you then combine those two -\'\fIphp \.\.\.|php \.\.\.\fP\' you\'ll see what happens. +\'\fIphp \.\.\.|php \.\.\.\fP\' you'll see what happens. .TP \fIphp \-E 'echo "Lines: $argi\\n";'\fP Using this PHP command you can count the lines being input. |
