summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2005-06-27 18:13:13 +0000
committerStanislav Malyshev <stas@php.net>2005-06-27 18:13:13 +0000
commitd5a129600895cdd0cba0b8834cb9951863c6999b (patch)
treef662205cd0df0955321c56ffd519ad4070022d69 /Zend/zend_API.h
parent46fcf913b29394d44a4918b224d427a19ba00a72 (diff)
downloadphp-git-d5a129600895cdd0cba0b8834cb9951863c6999b.tar.gz
fix various "Class entry requested for an object without PHP class" messages
when working with non-PHP objects. # Using Z_OBJCE(object)->name is usually bad idea unless you know it's # a pure PHP object
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index ee6b6d3bf5..f7f6bcac57 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -217,6 +217,7 @@ ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zval *object
ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, char *name, int name_length, zend_bool silent TSRMLS_DC);
ZEND_API zend_class_entry *zend_get_class_entry(zval *zobject TSRMLS_DC);
+ZEND_API int zend_get_object_classname(zval *object, char **class_name, zend_uint *class_name_len TSRMLS_DC);
#define getThis() (this_ptr)