1. Grammar
array(key=>value)
2. Example
<?php
$fruit=array("a"=>"apple","b"=>"pear","c"=>"orange","d"=>"peach");
print_r($fruit);
?>
Copy after login
http://www.bkjia.com/PHPjc/664276.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/664276.htmlTechArticle1. Syntax array (key=>value) 2. Example "apple", "b"=>"pear ","c"=>"orange","d"=>"peach"); print_r($fruit);?>...