Re: PHP 4.0 Bug #2263: Crash when reloading include file with arrays

From: Date: Wed, 08 Sep 1999 14:37:43 +0000
Subject: Re: PHP 4.0 Bug #2263: Crash when reloading include file with arrays
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-10718@lists.php.net to get a copy of this message
Hiya... I did some more debuging... the double undescores are producing the crash... when i changfe $enq_cijfer_totaal[] to $enq_cijfertotaal[] everything goes well.... At 16:21 8-9-99 , you wrote:
From:             wico@cnh.nl
Operating system: linux redhat 6
PHP version:      4.0 Latest CVS (08/09/1999)
PHP Bug Type:     Scripting Engine problem
Bug description: Crash when reloading include file with arrays i f have a global.inc that every page uses... in the glolbal.inc i have these arrays:
                $enq_cijfer_totaal[] = "Welk cijfer geeft u aan de vormgeving van de total CNH website?";
                $enq_cijfer_totaal[] = "Zeer goed (9-10)";
                $enq_cijfer_totaal[] = "Goed (7-8)";
                $enq_cijfer_totaal[] = "Gemiddeld (6)";
                $enq_cijfer_totaal[] = "Matig (5)";
                $enq_cijfer_totaal[] = "Zeer matig (0 - 4)";
                $enq_cijfer_inhoud[] = "Welk cijfer geeft u aan de inhoud van de totale CNH website?";
                $enq_cijfer_inhoud[] = "Zeer goed (9-10)";
                $enq_cijfer_inhoud[] = "Goed (7-8)";
                $enq_cijfer_inhoud[] = "Gemiddeld (6)";
                $enq_cijfer_inhoud[] = "Matig (5)";
                $enq_cijfer_inhoud[] = "Zeer matig (0 - 4)";
                $enq_cijfer_vriendelijk[] = "Welk cijfer geeft u aan de gebruikersvriendelijkheid van de totale CNH website?";
                $enq_cijfer_vriendelijk[] = "Zeer goed (9-10)";
                $enq_cijfer_vriendelijk[] = "Goed (7-8)";
                $enq_cijfer_vriendelijk[] = "Gemiddeld (6)";
                $enq_cijfer_vriendelijk[] = "Matig (5)";
                $enq_cijfer_vriendelijk[] = "Zeer matig (0 - 4)"; */
and lot's more but these makes it crash... the first time the page is loaded everything goes well,, but when i do a submit to the same page it crashes with: [Wed Sep 8 15:16:30 1999] [notice] child pid 3938 exit signal Segmentation fault (11) when i comment out these arrays everything goes wel... does it have to do with the dashes? P.S the values of the arrays are a rating in Dutch if you where wondering :) -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Practice makes perfect, but if nobody's perfect, why practice? Wico de Leeuw "Melt_Down", (wico@cnh.nl) ICQ - 33093128 (Web) Programmer / System Administrator

« previous php.dev (#10718) next »