php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64790 [DE] Example error
Submitted: 2013-05-08 11:32 UTC Modified: 2015-03-20 19:02 UTC
From: tl at hdnet dot de Assigned: cmb (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: all
Private report: No CVE-ID: None
 [2013-05-08 11:32 UTC] 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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-16 19:06 UTC] aharvey@php.net
-Status: Open +Status: Not a bug
 [2013-05-16 19:06 UTC] 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-16 22:48 UTC] 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 22:55 UTC] aharvey@php.net
Ah, I see. Thanks!
 [2013-05-16 22:55 UTC] aharvey@php.net
-Summary: Example error +Summary: [DE] Example error -Status: Not a bug +Status: Open -Package: *General Issues +Package: Translation problem
 [2013-06-27 13:59 UTC] christoph at rosse dot at
added a patch in edit.php.net - waiting for review.
 [2015-03-20 19:02 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2015-03-20 19:02 UTC] cmb@php.net
Thank you for the report, and for helping us make our
documentation better.

The translation has been fixed in the meantime.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 04:01:27 2024 UTC