ID:               22284
 User updated by:  White_Angel at gmx dot de
-Summary:          Dynamic Var Accessin Classes crashes PHP
 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:

ups.


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to