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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 23 = ?
Subscribe to this entry?

 
 [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: Sat Jul 20 17:01:30 2024 UTC