diff options
author | Stanislav Malyshev <stas@php.net> | 2015-01-03 01:22:58 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2015-01-10 15:07:38 -0800 |
commit | b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc (patch) | |
tree | 0e09490075ee4f9a75a77ef4168d8ee254c52e5b /ext/standard/type.c | |
parent | 773c8b0c092a0e9ad5c5548815bcb9991d54d5c1 (diff) | |
download | php-git-b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc.tar.gz |
trailing whitespace removal
Diffstat (limited to 'ext/standard/type.c')
-rw-r--r-- | ext/standard/type.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/type.c b/ext/standard/type.c index 2aa5c49f87..a260c436cb 100644 --- a/ext/standard/type.c +++ b/ext/standard/type.c @@ -48,11 +48,11 @@ PHP_FUNCTION(gettype) case IS_DOUBLE: RETVAL_STRING("double"); break; - + case IS_STRING: RETVAL_STRING("string"); break; - + case IS_ARRAY: RETVAL_STRING("array"); break; @@ -220,7 +220,7 @@ static inline void php_is_type(INTERNAL_FUNCTION_PARAMETERS, int type) if (Z_TYPE_P(arg) == type) { if (type == IS_OBJECT) { zend_class_entry *ce = Z_OBJCE_P(arg); - if (ce->name->len == sizeof(INCOMPLETE_CLASS) - 1 + if (ce->name->len == sizeof(INCOMPLETE_CLASS) - 1 && !strncmp(ce->name->val, INCOMPLETE_CLASS, ce->name->len)) { RETURN_FALSE; } @@ -379,7 +379,7 @@ PHP_FUNCTION(is_scalar) } /* }}} */ -/* {{{ proto bool is_callable(mixed var [, bool syntax_only [, string callable_name]]) +/* {{{ proto bool is_callable(mixed var [, bool syntax_only [, string callable_name]]) Returns true if var is callable. */ PHP_FUNCTION(is_callable) { @@ -394,7 +394,7 @@ PHP_FUNCTION(is_callable) &syntax_only, &callable_name) == FAILURE) { return; } - + if (syntax_only) { check_flags |= IS_CALLABLE_CHECK_SYNTAX_ONLY; } |