|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42121 German documentation on strings is wrong
Submitted: 2007-07-27 10:03 UTC Modified: 2007-12-09 00:40 UTC
From: fumble1 at web dot de Assigned:
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: fumble1 at web dot de
New email:
PHP Version: OS:


 [2007-07-27 10:03 UTC] fumble1 at web dot de

I caught an translation error in (German) - maybe it has just not been updated; however, I got pretty confused.
As the documentation says:

"Characters within strings may be accessed and modified by [...] using square array-brackets like $str[42] [...].
They may also be accessed using braces like $str{42} for the same purpose. However, using square array-brackets is preferred because the {braces} style is deprecated as of PHP 6."

German documentation re-translated:

"Characters within strings may be accessed and modified by [...] using braces [...].
For downwards compatibility you may use the array-brackets. However, this syntax is depracated as of PHP 4."


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-12-09 00:40 UTC]
It's just outdated.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 08:01:28 2024 UTC