Bugs...
| From: | Brad Schuetz | Date: | Sat, 15 Jan 2000 00:12:05 +0000 |
| Subject: | Bugs... | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9134@lists.php.net to get a copy of this message | ||
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 -=-