]> granicus.if.org Git - php/commitdiff
Added part of strpos commit that never made it in for some reason.
authorIlia Alshanetsky <iliaa@php.net>
Wed, 29 Jan 2003 00:07:01 +0000 (00:07 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 29 Jan 2003 00:07:01 +0000 (00:07 +0000)
# Thanks Pollita.

ext/standard/basic_functions.c
ext/standard/php_string.h

index 99aee756f936cd5bc3bc6dc2cf2b7bdf24c88421..3681253e02785163c13c1091f1bc5c6f2e31b37e 100644 (file)
@@ -325,7 +325,9 @@ function_entry basic_functions[] = {
        PHP_FE(strtoupper,                                                                                                              NULL)
        PHP_FE(strtolower,                                                                                                              NULL)
        PHP_FE(strpos,                                                                                                                  NULL)
+       PHP_FE(stripos,                                                                                                                 NULL)
        PHP_FE(strrpos,                                                                                                                 NULL)
+       PHP_FE(strripos,                                                                                                                NULL)
        PHP_FE(strrev,                                                                                                                  NULL)
        PHP_FE(hebrev,                                                                                                                  NULL)
        PHP_FE(hebrevc,                                                                                                                 NULL)
index 5f07c31ea38f07e0d6f10c1fd08799a47e5bf786..5b18cb787531afcbcea2567699d1f3bddfdcb5d0 100644 (file)
@@ -45,7 +45,9 @@ PHP_FUNCTION(dirname);
 PHP_FUNCTION(pathinfo);
 PHP_FUNCTION(strstr);
 PHP_FUNCTION(strpos);
+PHP_FUNCTION(stripos);
 PHP_FUNCTION(strrpos);
+PHP_FUNCTION(strripos);
 PHP_FUNCTION(strrchr);
 PHP_FUNCTION(substr);
 PHP_FUNCTION(quotemeta);