> i was wondering if there would be much trouble with adding boolean trigger > to > get_class_vars ( string class_name) and > get_object_vars ( object obj) > which will tell this functions whether to return array with names and values > or with names only. with default option set to returning names and values > there will be no bc broken. > > or maybe there is somewhere a function that lists class/object variables > names? > Something like array_keys(get_class_vars($classname)) or array_keys(get_object_vars($object)) ?
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php