2009-06-22 00:44:50 +08:00
|
|
|
.TH PHP 1 "2009" "The PHP Group" "Scripting Language"
|
2003-02-05 08:12:46 +08:00
|
|
|
.SH NAME
|
2003-02-07 04:10:52 +08:00
|
|
|
.TP 15
|
2006-01-01 20:51:34 +08:00
|
|
|
php \- PHP Command Line Interface 'CLI'
|
2003-02-05 08:12:46 +08:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B php
|
|
|
|
[options] [
|
2005-05-07 21:54:02 +08:00
|
|
|
.B \-f\fP ]
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR file
|
2003-02-08 06:12:02 +08:00
|
|
|
[[\-\-]
|
2003-02-08 23:29:35 +08:00
|
|
|
.IR args.\|.\|. ]
|
2003-02-05 08:12:46 +08:00
|
|
|
.LP
|
|
|
|
.B php
|
|
|
|
[options]
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-r
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR code
|
2003-02-08 06:12:02 +08:00
|
|
|
[[\-\-]
|
2003-02-08 23:29:35 +08:00
|
|
|
.IR args.\|.\|. ]
|
2003-02-05 08:12:46 +08:00
|
|
|
.LP
|
|
|
|
.B php
|
2003-02-08 06:12:02 +08:00
|
|
|
[options] [\-B
|
2003-02-08 23:29:35 +08:00
|
|
|
.IR code ]
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-R
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR code
|
2003-02-08 06:12:02 +08:00
|
|
|
[\-E
|
2003-02-08 23:29:35 +08:00
|
|
|
.IR code ]
|
|
|
|
[[\-\-]
|
|
|
|
.IR args.\|.\|. ]
|
2003-02-05 08:12:46 +08:00
|
|
|
.LP
|
|
|
|
.B php
|
2003-02-08 06:12:02 +08:00
|
|
|
[options] [\-B
|
2003-02-08 23:29:35 +08:00
|
|
|
.IR code ]
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-F
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR file
|
2003-02-08 06:12:02 +08:00
|
|
|
[\-E
|
2003-02-08 23:29:35 +08:00
|
|
|
.IR code ]
|
|
|
|
[[\-\-]
|
|
|
|
.IR args.\|.\|. ]
|
2003-02-05 08:12:46 +08:00
|
|
|
.LP
|
|
|
|
.B php
|
2003-02-08 06:12:02 +08:00
|
|
|
[options] \-\- [
|
2003-02-08 23:29:35 +08:00
|
|
|
.IR args.\|.\|. ]
|
2003-02-05 08:12:46 +08:00
|
|
|
.LP
|
2005-05-07 21:54:02 +08:00
|
|
|
\fBphp \fP[options] \fB\-a\fP
|
|
|
|
.LP
|
2003-02-05 08:12:46 +08:00
|
|
|
.SH DESCRIPTION
|
2005-05-07 21:54:02 +08:00
|
|
|
\fBPHP\fP is a widely\-used general\-purpose scripting language that is especially suited for
|
2003-02-07 04:10:52 +08:00
|
|
|
Web development and can be embedded into HTML. This is the command line interface
|
2006-04-24 03:56:53 +08:00
|
|
|
that enables you to do the following:
|
2003-02-07 04:10:52 +08:00
|
|
|
.P
|
2003-02-08 06:12:02 +08:00
|
|
|
You can parse and execute files by using parameter \-f followed by the name of the
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR file
|
|
|
|
to be executed.
|
|
|
|
.LP
|
2003-02-08 06:12:02 +08:00
|
|
|
Using parameter \-r you can directly execute PHP
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR code
|
2003-02-16 09:23:11 +08:00
|
|
|
simply as you would do inside a
|
|
|
|
.B \.php
|
|
|
|
file when using the
|
2003-02-05 08:12:46 +08:00
|
|
|
.B eval()
|
|
|
|
function.
|
|
|
|
.LP
|
|
|
|
It is also possible to process the standard input line by line using either
|
2003-02-08 06:12:02 +08:00
|
|
|
the parameter \-R or \-F. In this mode each separate input line causes the
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR code
|
2003-02-08 06:12:02 +08:00
|
|
|
specified by \-R or the
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR file
|
2003-02-08 06:12:02 +08:00
|
|
|
specified by \-F to be executed.
|
2003-02-05 08:12:46 +08:00
|
|
|
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
|
2009-12-02 16:22:05 +08:00
|
|
|
the parameters \-B and \-E can be used to execute
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR code
|
2003-02-08 06:12:02 +08:00
|
|
|
(see \-r) before and
|
2004-05-02 17:14:02 +08:00
|
|
|
after all input lines have been processed respectively. Notice that the
|
|
|
|
input is read from
|
|
|
|
.B STDIN
|
|
|
|
and therefore reading from
|
|
|
|
.B STDIN
|
|
|
|
explicitly changes the next input line or skips input lines.
|
2003-02-05 08:12:46 +08:00
|
|
|
.LP
|
2003-02-08 06:12:02 +08:00
|
|
|
If none of \-r \-f \-B \-R \-F or \-E is present but a single parameter is given
|
2003-02-07 04:10:52 +08:00
|
|
|
then this parameter is taken as the filename to parse and execute (same as
|
2003-02-08 06:12:02 +08:00
|
|
|
with \-f). If no parameter is present then the standard input is read and
|
2003-02-07 04:10:52 +08:00
|
|
|
executed.
|
2003-02-05 08:12:46 +08:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP 15
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-interactive
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-a
|
2005-05-07 21:54:02 +08:00
|
|
|
Run PHP interactively. This lets you enter snippets of PHP code that directly
|
|
|
|
get executed. When readline support is enabled you can edit the lines and also
|
2005-05-07 23:43:55 +08:00
|
|
|
have history support.
|
2003-02-05 08:12:46 +08:00
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-php\-ini \fIpath\fP|\fIfile\fP
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 23:29:35 +08:00
|
|
|
.B \-c \fIpath\fP|\fIfile\fP
|
2003-02-05 08:12:46 +08:00
|
|
|
Look for
|
|
|
|
.B php.ini
|
2003-02-07 04:10:52 +08:00
|
|
|
file in the directory
|
|
|
|
.IR path
|
|
|
|
or use the specified
|
|
|
|
.IR file
|
2003-02-05 08:12:46 +08:00
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-no\-php\-ini
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-n
|
2003-02-05 08:12:46 +08:00
|
|
|
No
|
|
|
|
.B php.ini
|
|
|
|
file will be used
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-define \fIfoo\fP[=\fIbar\fP]
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 23:29:35 +08:00
|
|
|
.B \-d \fIfoo\fP[=\fIbar\fP]
|
2003-02-05 08:12:46 +08:00
|
|
|
Define INI entry
|
|
|
|
.IR foo
|
|
|
|
with value
|
|
|
|
.IR bar
|
|
|
|
.TP
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-e
|
2003-02-05 08:12:46 +08:00
|
|
|
Generate extended information for debugger/profiler
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-file \fIfile\fP
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 23:29:35 +08:00
|
|
|
.B \-f \fIfile\fP
|
2003-02-05 08:12:46 +08:00
|
|
|
Parse and execute
|
|
|
|
.IR file
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-global \fIname\fP
|
|
|
|
.TP
|
|
|
|
.PD 1
|
|
|
|
.B \-g \fIname\fP
|
|
|
|
Make variable
|
|
|
|
.IR name
|
|
|
|
global in script.
|
|
|
|
.TP
|
|
|
|
.PD 0
|
|
|
|
.B \-\-help
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-h
|
2003-02-05 08:12:46 +08:00
|
|
|
This help
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-hide\-args
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-12 04:31:34 +08:00
|
|
|
.B \-H
|
|
|
|
Hide script name (\fIfile\fP) and parameters (\fIargs\.\.\.\fP) from external
|
|
|
|
tools. For example you may want to use this when a php script is started as
|
|
|
|
a daemon and the command line contains sensitive data such as passwords.
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-info
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-i
|
2003-02-07 04:10:52 +08:00
|
|
|
PHP information and configuration
|
2003-02-05 08:12:46 +08:00
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-syntax\-check
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-l
|
2003-02-05 08:12:46 +08:00
|
|
|
Syntax check only (lint)
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-modules
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-m
|
2003-02-05 08:12:46 +08:00
|
|
|
Show compiled in modules
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-run \fIcode\fP
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 23:29:35 +08:00
|
|
|
.B \-r \fIcode\fP
|
2003-02-07 04:10:52 +08:00
|
|
|
Run PHP
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR code
|
|
|
|
without using script tags
|
|
|
|
.B '<?..?>'
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-process\-begin \fIcode\fP
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 23:29:35 +08:00
|
|
|
.B \-B \fIcode\fP
|
2003-02-07 04:10:52 +08:00
|
|
|
Run PHP
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR code
|
|
|
|
before processing input lines
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-process\-code \fIcode\fP
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 23:29:35 +08:00
|
|
|
.B \-R \fIcode\fP
|
2003-02-07 04:10:52 +08:00
|
|
|
Run PHP
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR code
|
|
|
|
for every input line
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-process\-file \fIfile\fP
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 23:29:35 +08:00
|
|
|
.B \-F \fIfile\fP
|
2003-02-05 08:12:46 +08:00
|
|
|
Parse and execute
|
|
|
|
.IR file
|
|
|
|
for every input line
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-process\-end \fIcode\fP
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 23:29:35 +08:00
|
|
|
.B \-E \fIcode\fP
|
2003-02-07 04:10:52 +08:00
|
|
|
Run PHP
|
2003-02-05 08:12:46 +08:00
|
|
|
.IR code
|
|
|
|
after processing all input lines
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-syntax\-highlight
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-s
|
2009-04-09 18:20:02 +08:00
|
|
|
Output HTML syntax highlighted source
|
2003-02-05 08:12:46 +08:00
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-version
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-v
|
2003-02-05 08:12:46 +08:00
|
|
|
Version number
|
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-stripped
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 06:12:02 +08:00
|
|
|
.B \-w
|
2009-04-09 18:20:02 +08:00
|
|
|
Output source with stripped comments and whitespace
|
2003-02-05 08:12:46 +08:00
|
|
|
.TP
|
2003-02-16 09:23:11 +08:00
|
|
|
.PD 0
|
|
|
|
.B \-\-zend\-extension \fIfile\fP
|
|
|
|
.TP
|
|
|
|
.PD 1
|
2003-02-08 23:29:35 +08:00
|
|
|
.B \-z \fIfile\fP
|
2003-02-05 08:12:46 +08:00
|
|
|
Load Zend extension
|
|
|
|
.IR file
|
|
|
|
.TP
|
2003-02-08 23:29:35 +08:00
|
|
|
.IR args.\|.\|.
|
2003-02-05 08:12:46 +08:00
|
|
|
Arguments passed to script. Use
|
2003-02-08 06:12:02 +08:00
|
|
|
.B '\-\-'
|
2003-02-08 23:29:35 +08:00
|
|
|
.IR args
|
2003-02-05 08:12:46 +08:00
|
|
|
when first argument starts with
|
2003-02-08 06:12:02 +08:00
|
|
|
.B '\-'
|
2003-02-05 08:12:46 +08:00
|
|
|
or script is read from stdin
|
2005-12-11 10:17:34 +08:00
|
|
|
.TP
|
|
|
|
.PD 0
|
|
|
|
.B \-\-rfunction
|
|
|
|
.IR name
|
|
|
|
.TP
|
|
|
|
.PD 1
|
|
|
|
.B \-\-rf
|
|
|
|
.IR name
|
|
|
|
Shows information about function
|
|
|
|
.B name
|
|
|
|
.TP
|
|
|
|
.PD 0
|
|
|
|
.B \-\-rclass
|
|
|
|
.IR name
|
|
|
|
.TP
|
|
|
|
.PD 1
|
|
|
|
.B \-\-rc
|
|
|
|
.IR name
|
|
|
|
Shows information about class
|
|
|
|
.B name
|
|
|
|
.TP
|
|
|
|
.PD 0
|
|
|
|
.B \-\-rextension
|
|
|
|
.IR name
|
|
|
|
.TP
|
|
|
|
.PD 1
|
|
|
|
.B \-\-re
|
|
|
|
.IR name
|
|
|
|
Shows information about extension
|
|
|
|
.B name
|
2007-02-09 00:55:34 +08:00
|
|
|
.TP
|
|
|
|
.PD 0
|
|
|
|
.B \-\-rextinfo
|
|
|
|
.IR name
|
|
|
|
.TP
|
|
|
|
.PD 1
|
|
|
|
.B \-\-ri
|
|
|
|
.IR name
|
|
|
|
Shows configuration for extension
|
|
|
|
.B name
|
2009-12-02 16:22:05 +08:00
|
|
|
.TP
|
|
|
|
.B \-\-ini
|
|
|
|
Show configuration file names
|
2003-02-05 08:12:46 +08:00
|
|
|
.SH FILES
|
|
|
|
.TP 15
|
2003-02-08 06:12:02 +08:00
|
|
|
.B php\-cli.ini
|
2003-02-07 04:10:52 +08:00
|
|
|
The configuration file for the CLI version of PHP.
|
2003-02-05 08:12:46 +08:00
|
|
|
.TP
|
|
|
|
.B php.ini
|
|
|
|
The standard configuration file will only be used when
|
2003-02-08 06:12:02 +08:00
|
|
|
.B php\-cli.ini
|
2003-12-23 19:06:50 +08:00
|
|
|
cannot be found.
|
2003-02-07 04:10:52 +08:00
|
|
|
.SH EXAMPLES
|
|
|
|
.TP 5
|
2009-12-02 16:22:05 +08:00
|
|
|
\fIphp \-r 'echo "Hello World\\n";'\fP
|
2003-12-23 19:06:50 +08:00
|
|
|
This command simply writes the text "Hello World" to standard out.
|
2003-02-07 04:10:52 +08:00
|
|
|
.TP
|
2003-02-08 23:29:35 +08:00
|
|
|
\fIphp \-r 'print_r(gd_info());'\fP
|
2003-02-08 06:12:02 +08:00
|
|
|
This shows the configuration of your gd extension. You can use this
|
2003-12-23 19:06:50 +08:00
|
|
|
to easily check which image formats you can use. If you have any
|
2003-02-08 06:12:02 +08:00
|
|
|
dynamic modules you may want to use the same ini file that php uses
|
|
|
|
when executed from your webserver. There are more extensions which
|
2003-02-08 23:29:35 +08:00
|
|
|
have such a function. For dba use:
|
|
|
|
.RS
|
|
|
|
\fIphp \-r 'print_r(dba_handlers(1));'\fP
|
|
|
|
.RE
|
2003-02-08 06:12:02 +08:00
|
|
|
.TP
|
2003-12-23 19:06:50 +08:00
|
|
|
\fIphp \-R 'echo strip_tags($argn)."\\n";'\fP
|
2003-02-16 09:23:11 +08:00
|
|
|
This PHP command strips off the HTML tags line by line and outputs the
|
2003-12-23 19:06:50 +08:00
|
|
|
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
|
2003-02-16 09:23:11 +08:00
|
|
|
configuration information. If you then combine those two
|
2003-12-23 19:06:50 +08:00
|
|
|
\'\fIphp \.\.\.|php \.\.\.\fP\' you'll see what happens.
|
2003-02-07 04:10:52 +08:00
|
|
|
.TP
|
2003-02-08 23:29:35 +08:00
|
|
|
\fIphp \-E 'echo "Lines: $argi\\n";'\fP
|
2003-02-16 09:23:11 +08:00
|
|
|
Using this PHP command you can count the lines being input.
|
2003-02-07 04:10:52 +08:00
|
|
|
.TP
|
2003-05-22 02:41:28 +08:00
|
|
|
\fIphp \-R '@$l+=count(file($argn));' \-E 'echo "Lines:$l\\n";'\fP
|
2009-12-02 16:22:05 +08:00
|
|
|
In this example PHP expects each input line being a file. It counts all lines
|
2003-02-07 04:10:52 +08:00
|
|
|
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.
|
2003-02-08 06:12:02 +08:00
|
|
|
.TP
|
2003-02-08 23:29:35 +08:00
|
|
|
\fIphp \-R 'echo "$argn\\n"; fgets(STDIN);'\fP
|
2003-02-16 09:23:11 +08:00
|
|
|
Since you have access to STDIN from within \-B \-R \-F and \-E you can skip
|
|
|
|
certain input lines with your code. But note that in such cases $argi only
|
|
|
|
counts the lines being processed by php itself. Having read this you will
|
|
|
|
guess what the above program does: skipping every second input line.
|
2003-02-07 04:10:52 +08:00
|
|
|
.SH TIPS
|
|
|
|
You can use a shebang line to automatically invoke php
|
|
|
|
from scripts. Only the CLI version of PHP will ignore
|
|
|
|
such a first line as shown below:
|
|
|
|
.P
|
|
|
|
.PD 0
|
2003-02-08 23:29:35 +08:00
|
|
|
.RS
|
2003-02-07 04:10:52 +08:00
|
|
|
#!/bin/php
|
|
|
|
.P
|
|
|
|
<?php
|
|
|
|
.P
|
|
|
|
// your script
|
|
|
|
.P
|
|
|
|
?>
|
2003-02-08 23:29:35 +08:00
|
|
|
.RE
|
2003-02-07 04:10:52 +08:00
|
|
|
.PD 1
|
|
|
|
.P
|
|
|
|
.SH SEE ALSO
|
2009-12-02 16:22:05 +08:00
|
|
|
For a more or less complete description of PHP look here:
|
2003-02-07 04:10:52 +08:00
|
|
|
.PD 0
|
|
|
|
.P
|
|
|
|
.B http://www.php.net/manual/
|
|
|
|
.PD 1
|
2003-02-08 23:29:35 +08:00
|
|
|
.P
|
2003-02-07 04:10:52 +08:00
|
|
|
.SH BUGS
|
2006-01-01 20:51:34 +08:00
|
|
|
You can view the list of known bugs or report any new bug you
|
|
|
|
found at:
|
2003-02-07 04:10:52 +08:00
|
|
|
.PD 0
|
|
|
|
.P
|
|
|
|
.B http://bugs.php.net
|
|
|
|
.PD 1
|
|
|
|
.SH AUTHORS
|
|
|
|
The PHP Group: Thies C. Arntzen, Stig Bakken, Andi Gutmans, Rasmus Lerdorf, Sam Ruby, Sascha Schumann, Zeev Suraski, Jim Winstead, Andrei Zmievski.
|
|
|
|
.P
|
2007-04-24 04:54:22 +08:00
|
|
|
Additional work for the CLI sapi was done by Edin Kadribasic, Marcus Boerger and Johannes Schlueter.
|
2003-02-07 04:10:52 +08:00
|
|
|
.P
|
|
|
|
A List of active developers can be found here:
|
|
|
|
.PD 0
|
|
|
|
.P
|
|
|
|
.B http://www.php.net/credits.php
|
|
|
|
.PD 1
|
|
|
|
.P
|
|
|
|
And last but not least PHP was developed with the help of a huge amount of
|
|
|
|
contributors all around the world.
|
2003-02-08 23:29:35 +08:00
|
|
|
.SH VERSION INFORMATION
|
2003-02-12 12:38:30 +08:00
|
|
|
This manpage describes \fBphp\fP, version @PHP_VERSION@.
|
2003-02-05 08:12:46 +08:00
|
|
|
.SH COPYRIGHT
|
2008-12-31 19:15:49 +08:00
|
|
|
Copyright \(co 1997\-2009 The PHP Group
|
2003-02-05 08:12:46 +08:00
|
|
|
.LP
|
2006-01-01 20:51:34 +08:00
|
|
|
This source file is subject to version 3.01 of the PHP license,
|
2003-02-05 08:12:46 +08:00
|
|
|
that is bundled with this package in the file LICENSE, and is
|
2006-01-01 20:51:34 +08:00
|
|
|
available through the world-wide-web at the following url:
|
2003-02-05 08:35:20 +08:00
|
|
|
.PD 0
|
|
|
|
.P
|
2006-01-01 20:51:34 +08:00
|
|
|
.B http://www.php.net/license/3_01.txt
|
2003-02-05 08:35:20 +08:00
|
|
|
.PD 1
|
2003-02-07 04:10:52 +08:00
|
|
|
.P
|
2003-02-05 08:12:46 +08:00
|
|
|
If you did not receive a copy of the PHP license and are unable to
|
|
|
|
obtain it through the world-wide-web, please send a note to
|
2006-01-01 20:51:34 +08:00
|
|
|
.B license@php.net
|
2003-02-05 08:12:46 +08:00
|
|
|
so we can mail you a copy immediately.
|