From 08cc01ca68635d023a8a8a47411bf0cab2ced11f Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Tue, 14 May 2002 09:06:23 +0000 Subject: [PATCH] - Minor improvements. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@82193 c90b9560-bf6c-de11-be94-00142212c4b1 --- features/commandline.xml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/features/commandline.xml b/features/commandline.xml index 49b39fb202..61150bde98 100644 --- a/features/commandline.xml +++ b/features/commandline.xml @@ -1,5 +1,5 @@ - + Using PHP from the command line @@ -68,7 +68,9 @@ It is desired that any output coming from print, echo and friends is - immidiately written to the output and not cached in any buffer. + immidiately written to the output and not cached in any buffer. You + still can use output buffering + if you want to defer or manipulate standard output. @@ -131,6 +133,7 @@ @@ -144,6 +147,7 @@ $ php-cgi -f another_directory/test.php @@ -273,11 +277,11 @@ $ some_application | some_filter | php | sort -u >final_output.txt As long as the arguments you want to pass to your script do not start with the - character, there's nothing special to watch out for. Passing an argument to your script which starts with a - - will cause trouble because PHP - thinks it has to handle it. To prevent this use the argument list separator - --. After the argument has been parsed by - PHP, every argument following it is passed - untoched/unparsed to your script. + - will cause trouble because PHP + itself thinks it has to handle it. To prevent this use the argument list + separator --. After the argument has been parsed by + PHP, every argument following it is passed + untoched/unparsed to your script. Writes the PHP, PHP SAPI, and Zend version to standard output, e.g. - @@ -412,7 +416,7 @@ Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies &php.ini; or you can specify a custom INI file directly (which does not need to be named &php.ini;), e.g.: -