From: Derick Rethans Date: Fri, 17 Mar 2006 14:53:57 +0000 (+0000) Subject: - Actually make this is_binary() too. X-Git-Tag: RELEASE_1_3~391 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6b425432a5c649b6fb81dd891ab0c46ed307bc2;p=php - Actually make this is_binary() too. --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 49154e7cb8..9c28d6c158 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -530,8 +530,9 @@ zend_function_entry basic_functions[] = { PHP_FALIAS(is_double, is_float, NULL) PHP_FALIAS(is_real, is_float, NULL) PHP_FE(is_numeric, NULL) + PHP_FE(is_binary, NULL) PHP_FE(is_string, NULL) - PHP_FE(is_unicode, NULL) + PHP_FE(is_unicode, NULL) PHP_FE(is_buffer, NULL) PHP_FE(is_array, NULL) PHP_FE(is_object, NULL) diff --git a/ext/standard/php_type.h b/ext/standard/php_type.h index af7b09a1e9..4b8345fe33 100644 --- a/ext/standard/php_type.h +++ b/ext/standard/php_type.h @@ -32,6 +32,7 @@ PHP_FUNCTION(is_bool); PHP_FUNCTION(is_long); PHP_FUNCTION(is_float); PHP_FUNCTION(is_numeric); +PHP_FUNCTION(is_binary); PHP_FUNCTION(is_string); PHP_FUNCTION(is_unicode); PHP_FUNCTION(is_binary);