[TYPO3-core] FYI: Committed fix in t3lib_beFunc::getRecordWSOL
Michael Stucki
michael at typo3.org
Sat Dec 17 14:53:46 CET 2005
Hi Dmitry,
> > On Friday 16 December 2005 22:16, Holzinger Franz wrote:
> > > I have never seen something like this:
> > > > $key{0} !== '_'
> > >
> > > What does this mean?
> >
> > "If the first character of $key is not exactly '_' ..."
>
> Should not this be $key[0] (note brackets)? Or it is in e-mail only?
> Could not look to CVS, no connection to sf from here. :(
No this is correct. [0] means the first element of an array, {0} means the
first character of a string. See "Example 1" on this page:
http://ch.php.net/manual/en/function.substr.php
- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051217/cb727818/attachment.pgp
More information about the TYPO3-team-core
mailing list