Patch for get_class()
| From: | Timm Friebe | Date: | Mon, 14 Apr 2003 16:27:17 +0000 |
| Subject: | Patch for get_class() | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-906@lists.php.net to get a copy of this message | ||
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
Attachment: [text/x-patch] zend_builtin_functions.c.diff
Attachment: [text/x-patch] zend_builtin_functions.c.diff