[Typo3-dev] PHP problem revived

Martin-no$pam-Kutschker "Martin-no$pam-Kutschker" at blackbox.n0spam.net
Sat Apr 24 16:33:35 CEST 2004


Tobias Weidelt wrote:
> Tobias Weidelt wrote:
> 
>>   //@ to suppress the error message:
>>
>>   if (is_array(@$a['a']['b']['c'])) {
> 
> 
> I tried it now with PHP5 and it seems to work. So perhaps we don't have 
> any problem at all. :-)

The @ in front of the $ ... I don't know, just doesn't look right.

What about this:

if (@is_array($a['a']['b']['c'])) { ... }


Masi





More information about the TYPO3-dev mailing list