On Sun, 4 Jan 2004 [EMAIL PROTECTED] wrote:

> The example says that:
>   array_shift($input) 
> 
> is equivalent to:
>   array_splice($input, -1)
> 
> but that's not right.  it's equivalent to:
>   array_splice($input, 0, 1)

This is true, assuming you're talking about the effect it has on $input, 
rather than the array which it returns. I'll try to clear that up.

Ken
kennyt at php dot net
http://www.kennyt.com/

Reply via email to