Re: cvs: phpdoc /en/reference/info/functions ini-get.xml

From: Date: Fri, 06 Jun 2008 18:40:12 +0000
Subject: Re: cvs: phpdoc /en/reference/info/functions ini-get.xml
References: 1 2 3 4  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1764@lists.php.net to get a copy of this message
On 6 Jun 2008, at 11:32, Hannes Magnusson wrote:
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.
This was changed once, reverted, and changed back... after a fair amount of discussion. It is considered deprecated so please discuss this somewhere (internals) before reverting. Or find archives... I'll look later too. Regards, Philip

« previous php.doc.cvs (#1764) next »