Doc #63764 [Opn->Csd]: [RU] Error in spl_autoload_register example
| From: | shein@php.net | Date: | Tue, 25 Dec 2012 08:48:05 +0000 |
| Subject: | Doc #63764 [Opn->Csd]: [RU] Error in spl_autoload_register example | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9315@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63764&edit=1
ID: 63764
Updated by: shein@php.net
Reported by: maximaka0 at gmail dot com
Summary: [RU] Error in spl_autoload_register example
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
PHP Version: 5.3.19
-Assigned To:
+Assigned To: shein
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2012-12-25 08:44:22] shein@php.net
Automatic comment from SVN on behalf of shein
Revision: http://svn.php.net/viewvc/?view=revision&revision=328894
Log: Updated and reviewed translation.
Fixed bug #63764 ([RU] Error in spl_autoload_register example)
------------------------------------------------------------------------
[2012-12-13 21:50:43] maximaka0 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.spl-autoload-register#refsect1-
function.spl-autoload-register-examples
---
In russian documentation example:
spl_autoload_register(function ($class)) {
include 'classes/' . $class . '.class.php';
});
But must be:
spl_autoload_register(function ($class) {
include 'classes/' . $class . '.class.php';
});
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63764&edit=1