summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2003-01-30 05:00:41 +0000
committerSara Golemon <pollita@php.net>2003-01-30 05:00:41 +0000
commit37ff98978b1f930e3fdac1e4b04a337a0c1a2ad2 (patch)
tree4f8f2b9028595c07c0564568c87f78b8954e2cda /ext/standard/php_string.h
parent54c73d1ccb93e334ec0694536a6294a0814e237c (diff)
downloadphp-git-37ff98978b1f930e3fdac1e4b04a337a0c1a2ad2.tar.gz
Feature Request # 5919 - Addition of str_ireplace()
Also removed deprecated BM str replace menthod Also rewrote php_str_to_str to use more processor/memory efficient method (ilia)
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r--ext/standard/php_string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h
index 5b18cb7875..debe85ade0 100644
--- a/ext/standard/php_string.h
+++ b/ext/standard/php_string.h
@@ -27,6 +27,7 @@
PHP_FUNCTION(strspn);
PHP_FUNCTION(strcspn);
PHP_FUNCTION(str_replace);
+PHP_FUNCTION(str_ireplace);
PHP_FUNCTION(rtrim);
PHP_FUNCTION(trim);
PHP_FUNCTION(ltrim);
@@ -121,6 +122,8 @@ PHPAPI void php_stripcslashes(char *str, int *len);
PHPAPI char *php_basename(char *str, size_t len , char *suffix, size_t sufflen);
PHPAPI void php_dirname(char *str, int len);
PHPAPI char *php_stristr(unsigned char *s, unsigned char *t, size_t s_len, size_t t_len);
+PHPAPI char *php_str_to_str_ex(char *haystack, int length, char *needle,
+ int needle_len, char *str, int str_len, int *_new_length, int case_sensitivity);
PHPAPI char *php_str_to_str(char *haystack, int length, char *needle,
int needle_len, char *str, int str_len, int *_new_length);
PHPAPI char *php_trim(char *c, int len, char *what, int what_len, zval *return_value, int mode TSRMLS_DC);