[TYPO3-core] OT Re: FYI: Committed fix in t3lib_beFunc::getRecordWSOL
Karsten Dambekalns
karsten at typo3.org
Mon Dec 19 11:24:38 CET 2005
Hi.
On Monday 19 December 2005 08:20, Dmitry Dulepov wrote:
> Yes but why curly bracket? They already serve their purpose: to open and
> close code blocks.
Not only. They have yet another purpose: They allow to inlcude complex
variables in strings, as in
$bla = "This is a array member: {$var[hurz]} addressed with curly braces";
I think it good to distinguish between arrays and strings - come on, everyone
is always complaining about the loose typing in PHP. :=)
Karsten
--
Karsten Dambekalns
TYPO3 Association - Active Member
http://association.typo3.org/
More information about the TYPO3-team-core
mailing list