diff options
| author | Andi Gutmans <andi@php.net> | 2002-08-08 16:32:34 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2002-08-08 16:32:34 +0000 |
| commit | 52406cb37c3b62a93cff0d15ae7d7a85cd7fd419 (patch) | |
| tree | a0f531428218e3e49d72736711dfa3ffd30be9f1 /Zend/zend_operators.h | |
| parent | 7904787f950ea7b95f53d64af341c0a88393b748 (diff) | |
| download | php-git-52406cb37c3b62a93cff0d15ae7d7a85cd7fd419.tar.gz | |
- Make new 'is' operator work with classes only and return false when
- the object isn't of the said class or the value isn't an object.
Diffstat (limited to 'Zend/zend_operators.h')
| -rw-r--r-- | Zend/zend_operators.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h index 37f2f6bb21..c0fa057494 100644 --- a/Zend/zend_operators.h +++ b/Zend/zend_operators.h @@ -58,7 +58,7 @@ ZEND_API int is_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) ZEND_API int is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC); ZEND_API int is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC); -ZEND_API int is_type_function(zval *result, zval *op1, zend_class_entry *ce, int type TSRMLS_DC); +ZEND_API int is_class_function(zval *result, zval *op1, zend_class_entry *ce TSRMLS_DC); static inline zend_bool is_numeric_string(char *str, int length, long *lval, double *dval, zend_bool allow_errors) { |
