Re: [PHP-DEV] IF clause with precondition

2010-04-29 Thread Ferenc Kovacs
On Thu, Apr 29, 2010 at 8:08 PM, Sönke Brecht wrote: > Following code snippet did raise warnings concerning missing single array > values ($buffer[$SourceColumnNo] is NULL for some keys) > > if(!empty($SourceColumns[$SourceFileName]) && is_numeric($SourceColumnNo = array_search($ColumnName, $Sour

[PHP-DEV] IF clause with precondition

2010-04-29 Thread Sönke Brecht
Following code snippet did raise warnings concerning missing single array values ($buffer[$SourceColumnNo] is NULL for some keys) if(is_numeric($SourceColumnNo = array_search($ColumnName, $SourceColumns[$SourceFileName]))) { /* * The table column name was found in the current s