[TYPO3-core] RFC: #4155 / userFunc in conditions / t3lib_div::callUserFunction
Dmitry Dulepov
typo3 at accio.lv
Thu Sep 7 16:29:54 CEST 2006
Hi!
Martin Kutschker wrote:
> Do I understand that
>
> if (count($funcValues) == 1) list($funcValues) = $funcValues;
>
> is the same as
>
> if (count($funcValues) == 1) $funcValues = $funcValues[0];
>
> The list() here is confusing me.
Yes. I believe that the second form is preffered by those who has C
background. The first form is PHP-specific. I do not like it because it
does not look like "lvalue" (people with C background will understand).
--
Dmitry Dulepov
http://typo3bloke.net/
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-team-core
mailing list