From: Ilia Alshanetsky Date: Wed, 29 Jan 2003 00:07:01 +0000 (+0000) Subject: Added part of strpos commit that never made it in for some reason. X-Git-Tag: RELEASE_0_5~1382 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6170c0b30adfcdc75315afe99ba755d94b19f44;p=php Added part of strpos commit that never made it in for some reason. # Thanks Pollita. --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 99aee756f9..3681253e02 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -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) diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h index 5f07c31ea3..5b18cb7875 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -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);