Re: [PHP4BETA] Bugs...

From: Date: Sat, 15 Jan 2000 00:57:27 +0000
Subject: Re: [PHP4BETA] Bugs...
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-9136@lists.php.net to get a copy of this message
I just tested it; It causes no segmentation fault (or core dump as you said), but rather, a parse error, which is much less serious. Nonetheless, we'll try to fix it before beta 4. To higher the chances that this actually happens, please submit a bug report at http://bugs.php.net/version4/ Thanks, Zeev On Fri, 14 Jan 2000, Brad Schuetz wrote: > Couple bugs in PHP4. This used to work in PHP3 and was kinda handy. > ----------------------------- > $x = 1; > $var = "test"; > > $this->{$var}[$x] = "testdata"; > ----------------------------- > > And this one, should return 1 instead of a core dump. In PHP3 it worked > fine. This caused a headache in migration from php3 to 4. > > ----------------------------- > $count = count($this->var[]); > ----------------------------- > > Brad Schuetz -=- brad@omnis.com -=- > -=- Systems Development -=- > > > -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.version4 (#9136) next »