PHP 4.0 Bug #7955 Updated: [RFE] get_object_methods() missing

From: Date: Mon, 27 Nov 2000 18:13:30 +0000
Subject: PHP 4.0 Bug #7955 Updated: [RFE] get_object_methods() missing
Groups: php.dev 
Request: Send a blank email to php-dev+get-39303@lists.php.net to get a copy of this message
ID: 7955 Updated by: waldschrott Reported By: waldschrott@php.net Status: Bogus Bug Type: Feature/Change Request Assigned To: Comments: I know, but the report isn't valid either, because stas' serializer didn't recover serialized sub-objects at all properly, at first I thought it just forgot to map the methods to the objects, but that wasn't the case... Previous Comments: --------------------------------------------------------------------------- [2000-11-27 11:03:53] andrei@php.net Just use get_class_methods(get_class($obj)). --------------------------------------------------------------------------- [2000-11-23 21:46:38] waldschrott@php.net playing around with serializing references I noticed that there is no possibility to view which methods are valid for an object a workaround is to create a list with get_class_methods() and then check the class's methods against the object with method_exists() --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7955

« previous php.dev (#39303) next »