[TYPO3-core] RFC #15644: Replace magic numbers for shortcut_mode with class constants

Steffen Gebert steffen at steffen-gebert.de
Mon Sep 6 08:20:32 CEST 2010


On 06.09.10 06:55, Georg Ringer wrote:
> Hi,
>
> +1 on reading.
> Small side note: Wouldnt it make more sense to use === has it is
> slightly faster too?

AFAIK we say === always for string comparison, not neccessarry for 
integer. IIRC sb. even brought up a benchmark that it isn't even faster.

But if CGL says === also for int, I'm fine, of course (but no time to 
look it up right now, sorry).

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member


More information about the TYPO3-team-core mailing list