diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2002-07-24 09:55:11 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-07-24 09:55:11 +0000 |
commit | 7b3fb771e4b022a8bf74b1a881dbec67d3ad460b (patch) | |
tree | e1201ac6178efe434b01e53be19e973c51a77a8d /ext/standard/php_incomplete_class.h | |
parent | 7df5113ef2e958da07bd7f914e4239a8a870bc9e (diff) | |
download | php-git-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.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/standard/php_incomplete_class.h b/ext/standard/php_incomplete_class.h index 90ab2a17c9..390ca03bfb 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); |