Doc #64790 [Nab->Opn]: [DE] Example error
Edit report at https://bugs.php.net/bug.php?id=64790&edit=1
ID: 64790
Updated by: aharvey@php.net
Reported by: tl at hdnet dot de
-Summary: Example error
+Summary: [DE] Example error
-Status: Not a bug
+Status: Open
Type: Documentation Problem
-Package: *General Issues
+Package: Translation problem
Operating System: all
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Ah, I see. Thanks!
Previous Comments:
------------------------------------------------------------------------
[2013-05-16 22:48:59] anon at anon dot anon
@aharvey:
I believe OP is referring to the German translation of the manual, where it says $array($obj,
$method_name) instead of array($obj, $method_name). Here's a direct link:
http://www.php.net/manual/de/function.call-user-method.php#example-4733
------------------------------------------------------------------------
[2013-05-16 19:06:22] aharvey@php.net
It looks correct to me: the PHP 4 version shows that you have to pass the object by reference, which
is true.
------------------------------------------------------------------------
[2013-05-08 11:32:09] tl at hdnet dot de
Description:
------------
---
From manual page: http://www.php.net/function.call-user-method#refsect1-function.call-user-method-examples
---
Hey guys,
there is a "$" too much in front of the array.
Regards,
Tim
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64790&edit=1
Thread (6 messages)