summaryrefslogtreecommitdiff
path: root/ext/standard/php_incomplete_class.h
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-07-24 09:55:11 (GMT)
committerYasuo Ohgaki <yohgaki@php.net>2002-07-24 09:55:11 (GMT)
commit7b3fb771e4b022a8bf74b1a881dbec67d3ad460b (patch)
treee1201ac6178efe434b01e53be19e973c51a77a8d /ext/standard/php_incomplete_class.h
parent7df5113ef2e958da07bd7f914e4239a8a870bc9e (diff)
downloadphp-7b3fb771e4b022a8bf74b1a881dbec67d3ad460b.tar.gz
is_object() returns FALSE if object is a "incomplete object".
Raise E_NOTICE, instead of E_ERROR, for setting/getting properties to/from a "incomplete object".
Diffstat (limited to 'ext/standard/php_incomplete_class.h')
-rw-r--r--ext/standard/php_incomplete_class.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/standard/php_incomplete_class.h b/ext/standard/php_incomplete_class.h
index 90ab2a1..390ca03 100644
--- a/ext/standard/php_incomplete_class.h
+++ b/ext/standard/php_incomplete_class.h
@@ -44,12 +44,13 @@
size_t name_len; \
zend_bool free_class_name = 0 \
-
+#define INCOMPLETE_CLASS "__PHP_Incomplete_Class"
+#define MAGIC_MEMBER "__PHP_Incomplete_Class_Name"
#ifdef __cplusplus
extern "C" {
#endif
-
+
zend_class_entry *php_create_incomplete_class(TSRMLS_D);
char *php_lookup_class_name(zval *object, size_t *nlen, zend_bool del);