path: root/sapi
diff options
authorJani Taskinen <>2009-12-02 08:22:05 (GMT)
committerJani Taskinen <>2009-12-02 08:22:05 (GMT)
commit4944354eec0dde07b5a9af1f25ef3ddda7f065a9 (patch)
treeb1b28a4bcc2cd2b03ec766c9ffc8d6a34ac4eb23 /sapi
parent2bdd3538de81c72e4e32622dd8b58a50133eea21 (diff)
- Sync files
Diffstat (limited to 'sapi')
1 files changed, 7 insertions, 4 deletions
diff --git a/sapi/cli/ b/sapi/cli/
index 5216197..1033bb5 100644
--- a/sapi/cli/
+++ b/sapi/cli/
@@ -69,7 +69,7 @@ specified by \-F to be executed.
You can access the input line by \fB$argn\fP. While processing the input lines
.B $argi
contains the number of the actual line being processed. Further more
-the paramters \-B and \-E can be used to execute
+the parameters \-B and \-E can be used to execute
.IR code
(see \-r) before and
after all input lines have been processed respectively. Notice that the
@@ -304,6 +304,9 @@ Shows information about extension
.IR name
Shows configuration for extension
.B name
+.B \-\-ini
+Show configuration file names
.TP 15
.B php\-cli.ini
@@ -315,7 +318,7 @@ The standard configuration file will only be used when
cannot be found.
.TP 5
-\fIphp -r 'echo "Hello World\\n";'\fP
+\fIphp \-r 'echo "Hello World\\n";'\fP
This command simply writes the text "Hello World" to standard out.
\fIphp \-r 'print_r(gd_info());'\fP
@@ -339,7 +342,7 @@ configuration information. If you then combine those two
Using this PHP command you can count the lines being input.
\fIphp \-R '@$l+=count(file($argn));' \-E 'echo "Lines:$l\\n";'\fP
-In this example PHP expects each input line beeing a file. It counts all lines
+In this example PHP expects each input line being a file. It counts all lines
of the files specified by each input line and shows the summarized result.
You may combine this with tools like find and change the php scriptlet.
@@ -366,7 +369,7 @@ such a first line as shown below:
.PD 1
-For a description of PHP see:
+For a more or less complete description of PHP look here:
.PD 0