"pear","c"=>"orange","d"=>"peach"); print_r($fruit);?>"/> "pear","c"=>"orange","d"=>"peach"); print_r($fruit);?>">
Rumah >pembangunan bahagian belakang >tutorial php >PHP数组函数array_PHP教程
1、语法
array(key=>value)
2、实例
<?php $fruit=array("a"=>"apple","b"=>"pear","c"=>"orange","d"=>"peach"); print_r($fruit); ?>