php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #35866 php.net/substr does not reflect the removal of curly braces from PHP 5
Submitted: 2006-01-01 08:16 UTC Modified: 2006-01-01 13:07 UTC
From: false dot hopes at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2006-01-01 08:16 UTC] false dot hopes at gmail dot com
Description:
------------
Individual characters in strings can no longer be accessed by the use of curly braces. Square brackets still work and are now the preferred method


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-01 13:07 UTC] nlopess@php.net
No, this is not true. The curly braces were never removed from PHP. An earlier RC had a warning about them, but it was removed.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Sep 21 20:00:01 2025 UTC