[TYPO3-core] RFC: #4133 / accesskey for TMENU

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Sep 11 12:56:23 CEST 2006


Karsten Dambekalns schrieb:
> Hi.
> 
> On Friday 08 September 2006 09:32, Martin Kutschker wrote:
> 
>>Michael Stucki schrieb:
>>
>>>Why is Array (it's just a normal function) spelled with upper-case A so
>>>often? I know that this is written so often inside TYPO3 that you
>>>probably just copied it. But I think that lower-case would look more like
>>>a PHP function...
>>
>>I think the idea is that Array() is used as a constructor without "new".
>>And usually you spell "new Class()" not "new class()".
> 
> Array are not objects, so this isn't a constructor. I like array() much 
> better, as it's just a PHP *function*.

Of course you are right, I just think that this is the reason why someone 
started using Array().

But really I don't care. I spell TRUE if that makes someone happy and is 
consistently used. The same goes for Array().

Masi



More information about the TYPO3-team-core mailing list