From 228db2359af7fae572951fc62cb708835b481b9a Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 27 Jul 2004 13:40:02 +0000 Subject: [PATCH] Example for reading data (bug #21428) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164449 c90b9560-bf6c-de11-be94-00142212c4b1 --- features/commandline.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/features/commandline.xml b/features/commandline.xml index 35f946f762..9c69e227c0 100644 --- a/features/commandline.xml +++ b/features/commandline.xml @@ -1,5 +1,5 @@ - + Using PHP from the command line @@ -230,6 +230,16 @@ $stdin = fopen('php://stdin', 'r'); +?> +]]> + + If you want to read single line from stdin, you can + use + + ]]>