diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-04-01 12:11:13 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-04-01 12:11:13 +0300 |
commit | 4796e0242b8cdd2a77b552fcbaa74d70d87f6d0a (patch) | |
tree | 0881d7c1a1775deb840ded202edc2c1de6e9abd6 /Zend/zend_API.h | |
parent | 52fcc74875b26a2d7000af23c1705516280a7634 (diff) | |
parent | 2afca9f179fca2e127d5da3e1cc6cf50ff47339c (diff) | |
download | php-git-4796e0242b8cdd2a77b552fcbaa74d70d87f6d0a.tar.gz |
Merge branch 'InternalClassClean'
* InternalClassClean:
Fixed test
Patch improvement:
Fixed indentation. Fixed comment style. Fixed commented out code.
Reverted change to function name and added note of why it is different from the class it is actually changing.
Made UConverter throw an exception if the constructor fails.
Fixed PDO constructor to not return null.
Fixed fileinfo behaviour.
Made Phar throw exception on bad constructor.
Converted intl extension to use IntlException in constructors.
Fixed SplFixedArray and tests.
Fixed ReflectionExtension and ReflectionProperty.
Fixed ReflectionFunction, ReflectionMethod and ReflectionParameter.
Fixed PDORow behaviour and message.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r-- | Zend/zend_API.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 694c818f60..b70dd26ef8 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -538,8 +538,6 @@ ZEND_API int zend_set_local_var_str(const char *name, size_t len, zval *value, i ZEND_API zend_string *zend_find_alias_name(zend_class_entry *ce, zend_string *name); ZEND_API zend_string *zend_resolve_method_name(zend_class_entry *ce, zend_function *f); -ZEND_API void zend_ctor_make_null(zend_execute_data *execute_data); - ZEND_API const char *zend_get_object_type(const zend_class_entry *ce); #define add_method(arg, key, method) add_assoc_function((arg), (key), (method)) @@ -651,10 +649,6 @@ END_EXTERN_C() } \ } while (0) -/* May be used in internal constructors to make them return NULL */ -#define ZEND_CTOR_MAKE_NULL() \ - zend_ctor_make_null(execute_data) - #define RETURN_ZVAL_FAST(z) { RETVAL_ZVAL_FAST(z); return; } #define HASH_OF(p) (Z_TYPE_P(p)==IS_ARRAY ? Z_ARRVAL_P(p) : ((Z_TYPE_P(p)==IS_OBJECT ? Z_OBJ_HT_P(p)->get_properties((p)) : NULL))) |