php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63764 [RU] Error in spl_autoload_register example
Submitted: 2012-12-13 21:50 UTC Modified: 2012-12-25 08:48 UTC
From: maximaka0 at gmail dot com Assigned: shein (profile)
Status: Closed Package: Translation problem
PHP Version: 5.3.19 OS:
Private report: No CVE-ID: None
 [2012-12-13 21:50 UTC] 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';
});


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-14 00:36 UTC] aharvey@php.net
-Summary: Error in doc +Summary: [RU] Error in spl_autoload_register example -Package: Documentation problem +Package: Translation problem
 [2012-12-25 08:44 UTC] 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-25 08:48 UTC] shein@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: shein
 [2012-12-25 08:48 UTC] shein@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC