From 5acb71cfab3b71a44b752afaabdfa785f1776c20 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Wed, 17 Aug 2016 13:51:52 +0000 Subject: [PATCH] Fix #72865: describe difference to echo (with example ideally) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339895 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/echo.xml | 4 ++++ reference/strings/functions/print.xml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/reference/strings/functions/echo.xml b/reference/strings/functions/echo.xml index 1fbf0af59b..beb78ad5e6 100644 --- a/reference/strings/functions/echo.xml +++ b/reference/strings/functions/echo.xml @@ -39,6 +39,10 @@ I have foo. + + The only difference to print is that + echo accepts an argument list. + diff --git a/reference/strings/functions/print.xml b/reference/strings/functions/print.xml index 50bc2f9ec5..773133ccf7 100644 --- a/reference/strings/functions/print.xml +++ b/reference/strings/functions/print.xml @@ -20,6 +20,10 @@ language construct) so you are not required to use parentheses with its argument list. + + The only difference to echo is that + print only accepts a single argument. +