[PHP-DEV] array_key and array_value From: Andrew Sitnikov (sitnikov <email protected>)
Date: 06/30/01

Hello php-dev,

  $a = array (
     'one' => '1',
     'two' => '2',
     'three' => '3',
  );

  $k = array_keys($a);
  $v = array_value($a);

  Whether the condition will be true: $a[$k[$i]] == $v[$i] ?
  for $i from 0 to count($a)-1
  
  P.S. This question has arisen as perl (for example) does not
  guarantee the order elements in hash.

  
Best regards,
 Andrew Sitnikov
 e-mail : sitnikov <email protected>
 GSM: (+372) 56491109

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>