summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-05-19 22:00:38 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-05-19 22:00:38 +0000
commitaf77bc0583ca70c8648c52781899b5d0c9567e2f (patch)
tree5eec082a09f3669c69c1a485cba97de2d5f74573 /ext/standard/php_string.h
parentd1f9ac5bb9e4d9f8f1e046698a09fd35d181f1ec (diff)
downloadphp-git-af77bc0583ca70c8648c52781899b5d0c9567e2f.tar.gz
added optional 3rd parameter 'limit' to explode() as in split()
(due to feature request in bug id #3251)
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r--ext/standard/php_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h
index 9e31cb3cd9..e71cf8f997 100644
--- a/ext/standard/php_string.h
+++ b/ext/standard/php_string.h
@@ -109,7 +109,7 @@ PHPAPI void php_strip_tags(char *rbuf, int len, int state, char *allow, int allo
PHPAPI void php_char_to_str(char *str, uint len, char from, char *to, int to_len, pval *result);
PHPAPI void php_implode(pval *delim, pval *arr, pval *return_value);
-PHPAPI void php_explode(pval *delim, pval *str, pval *return_value);
+PHPAPI void php_explode(pval *delim, pval *str, pval *return_value, int limit);
PHPAPI inline char *php_memnstr(char *haystack, char *needle, int needle_len, char *end);
PHPAPI size_t php_strspn(char *s1, char *s2, char *s1_end, char *s2_end);
PHPAPI size_t php_strcspn(char *s1, char *s2, char *s1_end, char *s2_end);