cvs: ZendEngine2(PHP_5_2) / zend_builtin_functions.c

[email protected] ("Felipe Pena") Sat, 20 Jun 2009 18:45:18 -0000
Newsgroups php.zend-engine.cvs
Message-ID <cvsfelipe1245523518@cvsserver>
felipe		Sat Jun 20 18:45:18 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /ZendEngine2	zend_builtin_functions.c 
  Log:
  - MFH: old strlen cleanup
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_builtin_functions.c?r1=1.277.2.12.2.39&r2=1.277.2.12.2.40&diff_format=u
Index: ZendEngine2/zend_builtin_functions.c
diff -u ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.39 ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.40
--- ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.39	Mon Jun  8 21:17:12 2009
+++ ZendEngine2/zend_builtin_functions.c	Sat Jun 20 18:45:18 2009
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_builtin_functions.c,v 1.277.2.12.2.39 2009/06/08 21:17:12 pajoye Exp $ */
+/* $Id: zend_builtin_functions.c,v 1.277.2.12.2.40 2009/06/20 18:45:18 felipe Exp $ */
 
 #include "zend.h"
 #include "zend_API.h"
@@ -33,7 +33,7 @@
 static ZEND_FUNCTION(func_num_args);
 static ZEND_FUNCTION(func_get_arg);
 static ZEND_FUNCTION(func_get_args);
-static ZEND_NAMED_FUNCTION(zend_if_strlen);
+static ZEND_FUNCTION(strlen);
 static ZEND_FUNCTION(strcmp);
 static ZEND_FUNCTION(strncmp);
 static ZEND_FUNCTION(strcasecmp);
@@ -93,7 +93,7 @@
 	ZEND_FE(func_num_args,		NULL)
 	ZEND_FE(func_get_arg,		NULL)
 	ZEND_FE(func_get_args,		NULL)
-	{ "strlen", zend_if_strlen, NULL },
+	ZEND_FE(strlen,				NULL)
 	ZEND_FE(strcmp,				NULL)
 	ZEND_FE(strncmp,			NULL)
 	ZEND_FE(strcasecmp,			NULL)
@@ -275,7 +275,7 @@
 
 /* {{{ proto int strlen(string str)
    Get string length */
-ZEND_NAMED_FUNCTION(zend_if_strlen)
+ZEND_FUNCTION(strlen)
 {
 	zval **str;