<?php $stack = array("orange", "banana", "apple", "raspberry"); $fruit = array_shift($stack); print_r($stack); ?> 以上例程会输出: Array ( [0] => banana [1] => apple [2] => raspberry )
原文地址:https://www.cnblogs.com/clubs/p/12091608.html
时间: 2024-10-14 08:56:46