From: [EMAIL PROTECTED] Operating system: Windows ME PHP version: 4.0.4pl1 PHP Bug Type: Class/Object related Bug description: get_object_vars does not work as expected If variables within a class are set by the constructor, then get_object_vars works OK. If they are set after the class object is constructed, then it doesn't work OK. Example: class a { var $b; } $aa = new a(); $aa->b = "Hi"; print_r(get_object_vars($aa); //Result will not be as expected. This error is complicating an effort to persist a class. =================== Related Issue: It does not appear possible to have a variable within a class which is of type class. What a shame. -- Edit Bug report at: http://bugs.php.net/?id=10096&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]