"isset" or "array_key_exists"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please, answer:

what construction works faster:

   if (  isset ( $result [$i] ["key"] )  )
   {    do something;   }

or

   if (  array_key_exists ( "key", $result [$i] )  )
   {    do something;   }

?

Nikolay

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux