[TYPO3-dev] Code beauteousness

David Bruchmann typo3-dev at bruchmann-web.de
Wed Dec 2 20:37:33 CET 2009


----- Ursprüngliche Nachricht -----
Von:        Steffen Kamper <info at sk-typo3.de>
Gesendet:   Mittwoch, 2. Dezember 2009 20:33:14
An:         typo3-dev at lists.typo3.org
CC:
Betreff:    Re: [TYPO3-dev] Code beauteousness
> Hi,
> 
> Peter Russ schrieb:
>> Just wondering what the author of this poem is trying to say us:
>>
>> $content = array('user' => array(), 'html' => array(), 'admin' => 
>> array(), 'mail' => array());
>> $content['mail'] = '';
>> $content['user']['all'] = '';
>> $content['html']['all'] = '';
>> $content['admin']['all'] = '';
>>
> 
> 
> code is wrong, this is missing after all:
> unset($content, $content['mail'], $content['user']['all'], 
> $content['html']['all'], $content['admin']['all']);
> 
> otherwise something could be left ...
> 
> vg Steffen


*lol*

David




More information about the TYPO3-dev mailing list