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

version 1.1.1.3, 2013/07/22 01:32:13 version 1.1.1.5, 2014/06/15 20:04:02
Line 1 Line 1
 .TH PHP 1 "2013" "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 84  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
PHP also contains an embedded web server for application development purpose. By using the \-S option wherePHP also contains an built-in web server for application development purpose. By using the \-S option where
 .B addr:port  .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  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  .B docroot
Line 176  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 235  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 262  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 279  Output HTML syntax highlighted source Line 272  Output HTML syntax highlighted source
 .TP  .TP
 .PD 1  .PD 1
 .B \-S \fIaddr:port\fP  .B \-S \fIaddr:port\fP
Start embedded Webserver on the given local address and portStart built-in web server on the given local address and port
 .TP  .TP
 .PD 0  .PD 0
 .B \-\-docroot \fIdocroot\fP  .B \-\-docroot \fIdocroot\fP
 .TP  .TP
 .PD 1  .PD 1
 .B \-t \fIdocroot\fP  .B \-t \fIdocroot\fP
Specify the document root to be used by the embedded web serverSpecify the document root to be used by the built-in web server
 .TP  .TP
 .PD 0  .PD 0
 .B \-\-version  .B \-\-version
Line 296  Specify the document root to be used by the embedded w Line 289  Specify the document root to be used by the embedded w
 Version number  Version number
 .TP  .TP
 .PD 0  .PD 0
.B \-\-stripped.B \-\-strip
 .TP  .TP
 .PD 1  .PD 1
 .B \-w  .B \-w

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


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