From 3eadb12f7e40ebbe3a3b3975ecae9d8a9a96f5a6 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Tue, 23 Dec 2003 11:06:50 +0000 Subject: [PATCH] - Commit fixes to PHP man page --- sapi/cli/php.1.in | 14 +++++++------- 1 file 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. -- 2.40.0