<?php $a=array("red","green"); array_push($a,"blue","yellow"); print_r($a); ?> 该函数等于多次调用 $array[] = $value。