summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2006-03-17 14:53:57 +0000
committerDerick Rethans <derick@php.net>2006-03-17 14:53:57 +0000
commitc6b425432a5c649b6fb81dd891ab0c46ed307bc2 (patch)
tree2a9e0412da0510e00b7e74f567d7ec72a8371e07
parent2ffc93140ded0394f3071b863aa8ebbf8a0bbbef (diff)
downloadphp-git-c6b425432a5c649b6fb81dd891ab0c46ed307bc2.tar.gz
- Actually make this is_binary() too.
-rw-r--r--ext/standard/basic_functions.c3
-rw-r--r--ext/standard/php_type.h1
2 files changed, 3 insertions, 1 deletions
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);