[TYPO3-core] RFC #15454: Provide a reason for logDeprecatedTypoScript()

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Aug 23 22:13:27 CEST 2010


Steffen Gebert schrieb am 23.08.2010 21:52:

>> Some "nitpicking":
>>
>> We have to note that it changes behaviour of
>> $TSFE->logDeprecatedTyposcript(), which is also included in 4.3 and 4.4.
>> This means that this function might have been used by extensions by now.
> Added a note.
> 
>> As soon as extensions start using the second
>> parameter, they won't work on 4.3 and 4.4 anymore ("too many
>> arguments").
> Uhmm.. but not with PHP! There's no problem calling
>> funtion() foo { echo "Hello world"; }
> with
>> foo(TRUE, "hi");
> 
> See PHP docs [1], so no special signature required like in other
> languages ;-)

Amazing! I always thought that it isn't possible, but it makes sense of
course, else func_num_args() would not work.


Thanks!

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list