[TYPO3-core] optional array arguments

Andreas Otto ao-lists at php4win.de
Wed Apr 26 14:44:50 CEST 2006


On Wednesday 26 April 2006 14:09, Franz Holzinger wrote:
> However if it is an empty array then $variable = array() should get used
> here. With this you can avoid an additional if to check if the passed
> parameter is an array.

+1

-- 
Seit 12608076 Sekunden.
Since 12608076 seconds.

Q:  How many IBM CPU's does it take to execute a job?
A:  Four; three to hold it down, and one to rip its head off.



More information about the TYPO3-team-core mailing list