Re: array_shift and php 4.0.4

From: Date: Thu, 10 Jan 2002 10:21:54 +0000
Subject: Re: array_shift and php 4.0.4
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80002@lists.php.net to get a copy of this message
On Thursday 10 January 2002 17:38, bvr@xs4all.nl wrote: > Strange, are you sure it's 4.0.4 ?? > > The manual for array_shift() says it's supported from 4.0.0 . > > Maybe try the alias array_pop() ? array_pop() and array_shift are *different* :) array_pop() takes an element off the END of the array. array_shift() takes an element off the START of the array. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Never pay a compliment as if expecting a receipt. */

« previous php.general (#80002) next »