From b896533ae5029ca337205d171a73d3cc876bb735 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Fri, 17 Feb 2017 18:21:47 +0000 Subject: [PATCH] Fix #74098: Misleading information on static function calls. A feature that is available as of PHP 5.4.0 should not be exemplified by code requiring a newer version, even though the example would be less verbose. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341922 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/functions.xml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/language/functions.xml b/language/functions.xml index 6deb00459b..ee18bcda41 100644 --- a/language/functions.xml +++ b/language/functions.xml @@ -1568,14 +1568,18 @@ NULL]]> ]]> @@ -1596,16 +1600,19 @@ NULL call(new StdClass); +}; +$func = $func->bindTo(new StdClass); +$func(); + ?> ]]> &example.outputs;