[TYPO3-core] FYI: Committed fix in t3lib_beFunc::getRecordWSOL
Dmitry Dulepov
dima at spamcop.net
Sun Dec 18 17:09:36 CET 2005
Hi!
Robert Lemke wrote:
> On Saturday 17 December 2005 20:14, Martin Kutschker wrote:
>
> > Historical info: square brackets could (and probably can still be used) to
> > retrieve characters ftom a string, but the curly brackets are now (see PHP
> > doc for the version info) the preferred way.
>
> Correct. If you use square brackets in PHP5 you'll get a warning or at least a
> notice ...
Strange... PHP is C-like, strange that they decided to change it. Curly
brackets are traditionally used to open/close blocks of code but square
backets naturaly access individual elements. One of those bad changes in
life...
Dmitry.
More information about the TYPO3-team-core
mailing list