简单教程
提交运行
代码编辑器:
<?php $a = array("red","green","blue"); array_pop($a); print_r($a);
运行结果: