note 7842 deleted from array_keys by philip

From: Date: Mon, 30 Jul 2001 15:26:16 +0000
Subject: note 7842 deleted from array_keys by philip
Groups: php.notes 
Request: Send a blank email to php-notes+get-16064@lists.php.net to get a copy of this message
function array_keys( $a, $v = false ) { if( is_array( $a ) ) { while( $r = each( $a ) ) { if( ! $v || ( $v && $v == $r[1] ) ) array_push( $x, $r[0] ); } } return $x; }

« previous php.notes (#16064) next »