summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-05-23 05:04:28 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-05-23 05:04:28 +0000
commit78cec9f33ef75a357c2a020cb85b425bbf39566b (patch)
tree3bcc107cd996bfb79fd26d5dc540df9ac6588ef0 /ext/standard/php_string.h
parent39af86f017e1bc9c8a73ca6c320b55626b0da26d (diff)
downloadphp-git-78cec9f33ef75a357c2a020cb85b425bbf39566b.tar.gz
again (due to feature request in bug id #3251)
added optional 3rd parameter 'limit' to explode() as in split()
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);