源代码
"red",1=>"green",2=>"blue"); echo array_shift($a); print_r ($a); ?>
运行结果