From: White_Angel at gmx dot de
Operating system: Linux;RedHat8.0;2.4.18-24
PHP version: 5CVS-2003-02-18 (dev)
PHP Bug Type: Reproducible crash
Bug description: Dynamic Var Accessin Classes crashes PHP
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 bug report at http://bugs.php.net/?id=22284&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22284&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22284&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22284&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22284&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22284&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22284&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22284&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22284&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22284&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22284&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22284&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22284&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22284&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22284&r=gnused