<!DOCTYPE html> <html> <body> <?php $a=array("a"=>"red","b"=>"green","c"=>"blue"); echo array_search("red",$a); ?> </body> </html>
You have javascript disabled. You will not be able to edit any code.