Hi Marcus,
isn't it possible to move this into the engine for efficiency reasons?
Andrey
Marcus Boerger wrote:
helly Sat Aug 13 06:19:32 2005 EDT
Modified files:
/php-src/ext/standard type.c
Log:
- IS_STRING does not necessarily mean ascii so 'standard' is better
# Maybe we call them legacy strings
http://cvs.php.net/diff.php/php-src/ext/standard/type.c?r1=1.32&r2=1.33&ty=u
Index: php-src/ext/standard/type.c
diff -u php-src/ext/standard/type.c:1.32 php-src/ext/standard/type.c:1.33
--- php-src/ext/standard/type.c:1.32 Sat Aug 13 06:16:04 2005
+++ php-src/ext/standard/type.c Sat Aug 13 06:19:31 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: type.c,v 1.32 2005/08/13 10:16:04 helly Exp $ */
+/* $Id: type.c,v 1.33 2005/08/13 10:19:31 helly Exp $ */
#include "php.h"
#include "php_incomplete_class.h"
@@ -309,7 +309,7 @@
/* }}} */
/* {{{ proto bool is_buffer(mixed var)
- Returns true if variable is a ascii, unicode or binary string */
+ Returns true if variable is a standard, unicode or binary string */
PHP_FUNCTION(is_buffer)
{
pval **arg;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php