On 04 April 2004 01:13, Robin 'Sparky' Kopetzky wrote:

>       function key_exists($ps_key)
>       {
>               if ( in_array($ps_key,
> array_keys($this->ma_arguments)) ) {
>             return true;
>          } else {
>             return false;
>          }
>       }

Ummm --

   function key_exists($ps_key)
   {
      return array_key_exists($ps_key, this->ma_arguments);
   }

?

(Assuming it's passed the is_array() test, of course!)

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to