Re: cvs: phpdoc /en/reference/info/functions ini-get.xml
| From: | Hannes Magnusson | Date: | Fri, 06 Jun 2008 18:32:03 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/info/functions ini-get.xml | ||
| References: | 1 2 3 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-1763@lists.php.net to get a copy of this message | ||
On Fri, Jun 6, 2008 at 5:14 PM, Philip Olson <philip@roshambo.org> wrote:
>
> On 6 Jun 2008, at 08:11, Hannes Magnusson wrote:
>
>> On Fri, Jun 6, 2008 at 1:10 PM, Felipe Pena <felipe@php.net> wrote:
>>>
>>> felipe Fri Jun 6 11:10:13 2008 UTC
>>>
>>> Modified files:
>>> /phpdoc/en/reference/info/functions ini-get.xml
>>> Log:
>>> - Changed example (syntax {} to [] in string, user note by daniel.egeberg
>>> at gmail.com)
>>
>> Not that I care, but why?
>
> From the manual :)
>
> "Note: Strings may also be accessed using braces, as in $str{42}, for the
> same purpose. However, this syntax is deprecated as of PHP 6. Use square
> brackets instead."
Thats bs.
The manual recommended using {} for years. {} is definitely not deprecated.
-Hannes