diff options
| author | Derick Rethans <derick@php.net> | 2006-03-07 07:58:56 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2006-03-07 07:58:56 +0000 |
| commit | 6709a6bfc922b0b49b1ba39506cc644d0a4bac99 (patch) | |
| tree | 0fe6932fd2418e6c0d4adcf378a4a2539ab34572 /Zend/zend_builtin_functions.c | |
| parent | af792fbcc2b469bb24b6d03812e207f2a8346a4d (diff) | |
| download | php-git-6709a6bfc922b0b49b1ba39506cc644d0a4bac99.tar.gz | |
- Make this compile again
Diffstat (limited to 'Zend/zend_builtin_functions.c')
| -rw-r--r-- | Zend/zend_builtin_functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 0ef7f3f39b..36473efa28 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -699,7 +699,7 @@ static void is_a_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool only_subclass) /* {{{ proto bool is_subclass_of(object object, string class_name) Returns true if the object has this class as one of its parents */ -ZEND_FUNCTION(is_subclass_of) U +ZEND_FUNCTION(is_subclass_of) { is_a_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1); } @@ -708,7 +708,7 @@ ZEND_FUNCTION(is_subclass_of) U /* {{{ proto bool is_a(object object, string class_name) Returns true if the object is of this class or has this class as one of its parents */ -ZEND_FUNCTION(is_a) U +ZEND_FUNCTION(is_a) { zend_error(E_STRICT, "is_a(): Deprecated. Please use the instanceof operator"); is_a_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); |
