[TYPO3-core] RFC: #7350:PHP5ize class.t3lib_div.php

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sat Feb 2 01:47:25 CET 2008


Michael Stucki schrieb:
> Hi Ingo & Masi,
> 
>> did you call the backend or any other script after applying those
>> changes? ^^
>>
>> ... withdrawing my +1 for now after testing
> 
> I only got one error because of a bug in lang.php. This is exactly what
> Martin mentioned, so whenever such problems occur now, we just have to fix
> them.

Me too, but those other fixes of Ingo's won't hurt.

> @Masi: Fix for lang.php is attached, please take care of it after committing
> your patch.

Any preference to the kind of fix: casting vs on-demand creation? If I 
understand that casting an undefined will create an "empty" object: 0, 
0.0, "", array(). Right? So Michael's fix is good enough for that purpose.

Masi


More information about the TYPO3-team-core mailing list