]> granicus.if.org Git - php/commitdiff
- MFH: old strlen cleanup
authorFelipe Pena <felipe@php.net>
Sat, 20 Jun 2009 18:45:18 +0000 (18:45 +0000)
committerFelipe Pena <felipe@php.net>
Sat, 20 Jun 2009 18:45:18 +0000 (18:45 +0000)
Zend/zend_builtin_functions.c

index d5a3461ec94819474b7f4609c59f674f73151d7b..584b13a074f02b3ef3ebe3fc4552e6a187a3975b 100644 (file)
@@ -33,7 +33,7 @@ static ZEND_FUNCTION(zend_version);
 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 @@ static zend_function_entry builtin_functions[] = {
        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 @@ ZEND_FUNCTION(func_get_args)
 
 /* {{{ proto int strlen(string str)
    Get string length */
-ZEND_NAMED_FUNCTION(zend_if_strlen)
+ZEND_FUNCTION(strlen)
 {
        zval **str;