Doc #64790 [Com]: Example error

From: Date: Thu, 16 May 2013 22:48:59 +0000
Subject: Doc #64790 [Com]: Example error
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9839@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64790&edit=1

 ID:                 64790
 Comment by:         anon at anon dot anon
 Reported by:        tl at hdnet dot de
 Summary:            Example error
 Status:             Not a bug
 Type:               Documentation Problem
 Package:            *General Issues
 Operating System:   all
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

@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


Previous Comments:
------------------------------------------------------------------------
[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)

« previous php.doc.bugs (#9839) next »