cvs: php-src /ext/standard basic_functions.c php_type.h
| From: | Derick Rethans | Date: | Fri, 17 Mar 2006 14:53:57 +0000 |
| Subject: | cvs: php-src /ext/standard basic_functions.c php_type.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-37317@lists.php.net to get a copy of this message | ||
derick Fri Mar 17 14:53:57 2006 UTC
Modified files:
/php-src/ext/standard basic_functions.c php_type.h
Log:
- Actually make this is_binary() too.
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/basic_functions.c?r1=1.762&r2=1.763&diff_format=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.762 php-src/ext/standard/basic_functions.c:1.763
--- php-src/ext/standard/basic_functions.c:1.762 Thu Mar 16 16:53:09 2006
+++ php-src/ext/standard/basic_functions.c Fri Mar 17 14:53:57 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.762 2006/03/16 16:53:09 dmitry Exp $ */
+/* $Id: basic_functions.c,v 1.763 2006/03/17 14:53:57 derick Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -530,8 +530,9 @@
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)
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/php_type.h?r1=1.8&r2=1.9&diff_format=u
Index: php-src/ext/standard/php_type.h
diff -u php-src/ext/standard/php_type.h:1.8 php-src/ext/standard/php_type.h:1.9
--- php-src/ext/standard/php_type.h:1.8 Sun Jan 1 13:09:55 2006
+++ php-src/ext/standard/php_type.h Fri Mar 17 14:53:57 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_type.h,v 1.8 2006/01/01 13:09:55 sniper Exp $ */
+/* $Id: php_type.h,v 1.9 2006/03/17 14:53:57 derick Exp $ */
#ifndef PHP_TYPE_H
#define PHP_TYPE_H
@@ -32,6 +32,7 @@
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);