Re: [PHP] Re: Pre/Post inc (Was array conversion)

2010-02-20 Thread clancy_1
On Sat, 20 Feb 2010 17:44:00 -0500, you wrote: >On Sat, Feb 20, 2010 at 11:10 AM, Nathan Rixham wrote: > >> Richard Quadling wrote: >> > On 20 February 2010 11:18, wrote: >> >> Or: >> >> >> >> $a = array ('Cats', 'white', 'Dogs', 'black', 'Mice', 'grey', 'Camels', >> 'brown'); >> >> $b = '';

Re: [PHP] Re: Pre/Post inc (Was array conversion)

2010-02-20 Thread Adam Richardson
On Sat, Feb 20, 2010 at 11:10 AM, Nathan Rixham wrote: > Richard Quadling wrote: > > On 20 February 2010 11:18, wrote: > >> Or: > >> > >> $a = array ('Cats', 'white', 'Dogs', 'black', 'Mice', 'grey', 'Camels', > 'brown'); > >> $b = '';// Just in case it has some

[PHP] Re: Pre/Post inc (Was array conversion)

2010-02-20 Thread Nathan Rixham
Richard Quadling wrote: > On 20 February 2010 11:18, wrote: >> Or: >> >> $a = array ('Cats', 'white', 'Dogs', 'black', 'Mice', 'grey', 'Camels', >> 'brown'); >> $b = '';// Just in case it has some leftover >> value >> $k = 2* (int) (count ($a)/2); // ensure eve