Hi 2009/6/1 Nathan Rixham <nrix...@gmail.com>: > Matt Wilson wrote: >> >> get_class_vars + array_diff > > cheers but nope; as the manual says > "Returns an associative array of default public properties of the class"
I've recently fixed the manual about get_class_vars, since PHP 5.0.5 get_class_vars, depending on the scope will return the properties thats accessable from this scope, so calling it inside a method will expose both its public/protected/private properties. > > need private and inherited private > -- regrads, Kalle Sommer Nielsen ka...@php.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php