[PHP-DOC] Re: [PHP-NOTES] note 38720 added to function.array-splice

2004-01-04 Thread Bharat Mediratta
From: "Ken Tossell" <[EMAIL PROTECTED]> ... > 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) > > Thi

[PHP-DOC] Re: [PHP-NOTES] note 38720 added to function.array-splice

2004-01-04 Thread Ken Tossell
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,