#22284 [Opn]: Dynamic Var Accessing Classes crashes PHP
| From: | White_Angel at gmx dot de | Date: | Tue, 18 Feb 2003 22:45:11 +0000 |
| Subject: | #22284 [Opn]: Dynamic Var Accessing Classes crashes PHP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33476@lists.php.net to get a copy of this message | ||
ID: 22284
User updated by: White_Angel at gmx dot de
Reported By: White_Angel at gmx dot de
Status: Open
Bug Type: Reproducible crash
Operating System: Linux;RedHat8.0;2.4.18-24
PHP Version: 5CVS-2003-02-18 (dev)
New Comment:
Added:
Must be a Problem in the Syntax Check because
php -l in syntax check only crashes also.
Previous Comments:
------------------------------------------------------------------------
[2003-02-18 16:29:33] White_Angel at gmx dot de
ups.
------------------------------------------------------------------------
[2003-02-18 16:28:57] White_Angel at gmx dot de
On testing how to solve Bug #22269 I noticed the following:
class foo {
var $a="dummyyy";
function bar() {
$name="a";
echo $this->$name; or $this->$name;
}
}
Will generate nen Segmetnation Vault if the $this->$name line is
parsed.
If this Acces is depricated HOW CAN i access this Variable Now ?
(class_get_vars is only reading)
Is this a Bug or a feature ?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22284&edit=1