Re: [PHP4BETA] Bugs...
| From: | Zeev Suraski | Date: | Sat, 15 Jan 2000 00:54:03 +0000 |
| Subject: | Re: [PHP4BETA] Bugs... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9135@lists.php.net to get a copy of this message | ||
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.
*Nothing* should cause a segmentation fault. If you notice a problem that
does, it's not intentional, and you shouldn't modify your scripts to go
around it. Instead, report it (like you did) and wait for the next beta
of PHP 4.0 that would fix it.
Zeev
--
Zeev Suraski <zeev@zend.com>
http://www.zend.com/