Patch for get_class()

php.internals

Timm Friebe

23 years ago
This patch adds an optional parameter to get_class to retreive it's fully qualified class name (including the namespace, if existant). This solves an issue with get_class and a constellation such as: namespace Foo { class Bar { } } namespace Baz { class Bar { } } - Timm

Timm Friebe

23 years ago
On Mon, 2003-04-14 at 18:27, Timm Friebe wrote: [...Patch...] Well, OK, this one might be a bit better, ZEND_WRONG_PARAM_COUNT() is not necessary as zend_get_parameters_ex already warns about type mismatches. - Timm