Re: [PHP] Re: refernces, arrays, and why does it take up so much memory?

2013-09-03 Thread Jim Giner
On 9/3/2013 1:09 AM, Daevid Vincent wrote: -Original Message- From: Jim Giner [mailto:jim.gi...@albanyhandball.com] Sent: Monday, September 02, 2013 8:14 PM To: php-general@lists.php.net Subject: [PHP] Re: refernces, arrays, and why does it take up so much memory? On 9/2/2013 9:30 PM,

Re: [PHP] refernces, arrays, and why does it take up so much memory?

2013-09-03 Thread Stuart Dallas
On 3 Sep 2013, at 02:30, Daevid Vincent wrote: > I'm confused on how a reference works I think. > > I have a DB result set in an array I'm looping over. All I simply want to do > is make the array key the "id" of the result set row. > > This is the basic gist of it: > > private function

RE: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED]

2013-09-03 Thread Daevid Vincent
EUREKA! > -Original Message- > From: Stuart Dallas [mailto:stu...@3ft9.com] > Sent: Tuesday, September 03, 2013 6:31 AM > To: Daevid Vincent > Cc: php-general@lists.php.net > Subject: Re: [PHP] refernces, arrays, and why does it take up so much > memory? > > On 3 Sep 2013, at 02:30, Daevi

Re: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED]

2013-09-03 Thread Stuart Dallas
On 3 Sep 2013, at 21:47, "Daevid Vincent" wrote: > There were reasons I had the $id -- I only showed the relevant parts of the > code for sake of not overly complicating what I was trying to illustrate. > There is other processing that had to be done too in the loop and that is > also what I illu

RE: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED]

2013-09-03 Thread Daevid Vincent
> -Original Message- > From: Stuart Dallas [mailto:stu...@3ft9.com] > Sent: Tuesday, September 03, 2013 2:37 PM > To: Daevid Vincent > Cc: php-general@lists.php.net; 'Jim Giner' > Subject: Re: [PHP] refernces, arrays, and why does it take up so much > memory? [SOLVED] > > On 3 Sep 2013,

RE: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED]

2013-09-03 Thread Daevid Vincent
> -Original Message- > From: Daevid Vincent [mailto:dae...@daevid.com] > Sent: Tuesday, September 03, 2013 4:03 PM > To: php-general@lists.php.net > Cc: 'Stuart Dallas' > Subject: RE: [PHP] refernces, arrays, and why does it take up so much > memory? [SOLVED] > > > $this->tmp_results[$

Re: [PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-03 Thread Daniel
Just so that you know, I've posted in the forum topic as well: http://forum.piwik.org/read.php?2,105879 Regards, Daniel Fenn On Tue, Sep 3, 2013 at 12:42 AM, Lester Caine wrote: > Jan Ehrhardt wrote: >>> >>> Could you try to add a function_exists check to >>> >libs/upgradephp/upgrade.php? >>