Diff for /embedaddon/php/sapi/cli/php.1.in between versions 1.1 and 1.1.1.5

version 1.1, 2012/02/21 23:48:06 version 1.1.1.5, 2014/06/15 20:04:02
Line 1 Line 1
.TH PHP 1 "2010" "The PHP Group" "Scripting Language".TH PHP 1 "2013" "The PHP Group" "Scripting Language"
 .SH NAME  .SH NAME
 php \- PHP Command Line Interface 'CLI'  php \- PHP Command Line Interface 'CLI'
   .P
   php-cgi \- PHP Common Gateway Interface 'CGI' command
 .SH SYNOPSIS  .SH SYNOPSIS
 .B php  .B php
 [options] [  [options] [
Line 18  php \- PHP Command Line Interface 'CLI' Line 20  php \- PHP Command Line Interface 'CLI'
 .LP  .LP
 .B php  .B php
 [options] [\-B   [options] [\-B 
.IR code ] .IR begin_code ]
 .B \-R   .B \-R 
 .IR code  .IR code
 [\-E   [\-E 
.IR code ].IR end_code ]
 [[\-\-]  [[\-\-]
 .IR args.\|.\|. ]  .IR args.\|.\|. ]
 .LP  .LP
 .B php  .B php
 [options] [\-B   [options] [\-B 
.IR code ].IR begin_code ]
 .B \-F   .B \-F 
 .IR file  .IR file
 [\-E   [\-E 
.IR code ] .IR end_code ]
 [[\-\-]  [[\-\-]
 .IR args.\|.\|. ]  .IR args.\|.\|. ]
 .LP  .LP
Line 42  php \- PHP Command Line Interface 'CLI' Line 44  php \- PHP Command Line Interface 'CLI'
 .LP  .LP
 \fBphp \fP[options] \fB\-a\fP  \fBphp \fP[options] \fB\-a\fP
 .LP  .LP
   .B php
   [options] \-S
   .IR addr:port
   [\-t
   .IR docroot ]
   .LP
 .SH DESCRIPTION  .SH DESCRIPTION
 \fBPHP\fP is a widely\-used general\-purpose scripting language that is especially suited for   \fBPHP\fP is a widely\-used general\-purpose scripting language that is especially suited for 
 Web development and can be embedded into HTML. This is the command line interface  Web development and can be embedded into HTML. This is the command line interface
Line 78  and therefore reading from  Line 86  and therefore reading from 
 .B STDIN   .B STDIN 
 explicitly changes the next input line or skips input lines.  explicitly changes the next input line or skips input lines.
 .LP  .LP
If none of \-r \-f \-B \-R \-F or \-E is present but a single parameter is given PHP also contains an built-in web server for application development purpose. By using the \-S option where
 .B addr:port
 point to a local address and port PHP will listen to HTTP requests on that address and port and serve files from the current working directory or the
 .B docroot
 passed by the \-t option.
 .LP
 If none of \-r \-f \-B \-R \-F \-E or \-S is present but a single parameter is given 
 then this parameter is taken as the filename to parse and execute (same as   then this parameter is taken as the filename to parse and execute (same as 
 with \-f). If no parameter is present then the standard input is read and   with \-f). If no parameter is present then the standard input is read and 
 executed.  executed.
Line 164  Parse and execute  Line 178  Parse and execute 
 .IR file  .IR file
 .TP  .TP
 .PD 0  .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  .B \-\-help
 .TP  .TP
 .PD 1  .PD 1
Line 223  without using script tags Line 228  without using script tags
 .B \-\-process\-begin \fIcode\fP  .B \-\-process\-begin \fIcode\fP
 .TP  .TP
 .PD 1  .PD 1
.B \-B \fIcode\fP.B \-B \fIbegin_code\fP
 Run PHP   Run PHP 
.IR code.IR begin_code
 before processing input lines  before processing input lines
 .TP  .TP
 .PD 0  .PD 0
Line 250  for every input line Line 255  for every input line
 .B \-\-process\-end \fIcode\fP  .B \-\-process\-end \fIcode\fP
 .TP  .TP
 .PD 1  .PD 1
.B \-E \fIcode\fP.B \-E \fIend_code\fP
 Run PHP   Run PHP 
.IR code.IR end_code
 after processing all input lines  after processing all input lines
 .TP  .TP
 .PD 0  .PD 0
Line 263  after processing all input lines Line 268  after processing all input lines
 Output HTML syntax highlighted source  Output HTML syntax highlighted source
 .TP  .TP
 .PD 0  .PD 0
   .B \-\-server \fIaddr:port\fP
   .TP
   .PD 1
   .B \-S \fIaddr:port\fP
   Start built-in web server on the given local address and port
   .TP
   .PD 0
   .B \-\-docroot \fIdocroot\fP
   .TP
   .PD 1
   .B \-t \fIdocroot\fP
   Specify the document root to be used by the built-in web server
   .TP
   .PD 0
 .B \-\-version  .B \-\-version
 .TP  .TP
 .PD 1  .PD 1
Line 270  Output HTML syntax highlighted source Line 289  Output HTML syntax highlighted source
 Version number  Version number
 .TP  .TP
 .PD 0  .PD 0
.B \-\-stripped.B \-\-strip
 .TP  .TP
 .PD 1  .PD 1
 .B \-w  .B \-w
Line 323  Shows information about extension Line 342  Shows information about extension
 .B name  .B name
 .TP  .TP
 .PD 0  .PD 0
   .B \-\-rzendextension
   .IR name
   .TP
   .PD 1
   .B \-\-rz
   .IR name
   Shows information about Zend extension
   .B name
   .TP
   .PD 0
 .B \-\-rextinfo  .B \-\-rextinfo
 .IR name  .IR name
 .TP  .TP
Line 425  contributors all around the world. Line 454  contributors all around the world.
 .SH VERSION INFORMATION  .SH VERSION INFORMATION
 This manpage describes \fBphp\fP, version @PHP_VERSION@.  This manpage describes \fBphp\fP, version @PHP_VERSION@.
 .SH COPYRIGHT  .SH COPYRIGHT
Copyright \(co 1997\-2010 The PHP GroupCopyright \(co 1997\-2013 The PHP Group
 .LP  .LP
 This source file is subject to version 3.01 of the PHP license,  This source file is subject to version 3.01 of the PHP license,
 that is bundled with this package in the file LICENSE, and is  that is bundled with this package in the file LICENSE, and is

Removed from v.1.1  
changed lines
  Added in v.1.1.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>