From 7455fa90050263ff31e30c0f680d30c0f9689b49 Mon Sep 17 00:00:00 2001 From: Torben Wilson Date: Thu, 5 Jun 2003 21:09:34 +0000 Subject: [PATCH] print() returns 1, always. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@130317 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/print.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/reference/strings/functions/print.xml b/reference/strings/functions/print.xml index 67b4e5dd0b..68590f0e63 100644 --- a/reference/strings/functions/print.xml +++ b/reference/strings/functions/print.xml @@ -1,5 +1,5 @@ - + @@ -9,16 +9,17 @@ Description - boolprint + intprint stringarg - Outputs arg. &return.success; + Outputs arg. Returns 1, + always. print is not actually a real function (it is a language construct) so you are not required to use parentheses - with it. + with its argument list. <function>print</function> examples