summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
diff options
context:
space:
mode:
authorDavid Croft <david@php.net>2000-07-22 01:12:24 +0000
committerDavid Croft <david@php.net>2000-07-22 01:12:24 +0000
commit8dd1fdb1a0fc04c735e2b71471ab2ea4e45b8734 (patch)
tree03be7928a898c950dc891395ca4fce98bdf7a7f8 /ext/standard/php_string.h
parente007639f2a24ed2647dbfe9879f613c73ed1d3bc (diff)
downloadphp-git-8dd1fdb1a0fc04c735e2b71471ab2ea4e45b8734.tar.gz
wordwrap function from Chris Russel <russel@yorku.ca>
differences from his patch: - wordwrap width and wrap-string now optional parameters (default to 75 and "\n" respectively) - wordwrap_byte is now just an automatic special case of wordwrap - Zend API compliant @- Added new function "wordwrap" to wordwrap long strings from Chris @ Russel <russel@yorku.ca> (David Croft)
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r--ext/standard/php_string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h
index 88b70f22c1..3046407d4c 100644
--- a/ext/standard/php_string.h
+++ b/ext/standard/php_string.h
@@ -46,6 +46,7 @@ PHP_FUNCTION(soundex);
PHP_FUNCTION(levenshtein);
PHP_FUNCTION(count_chars);
+PHP_FUNCTION(wordwrap);
PHP_FUNCTION(explode);
PHP_FUNCTION(implode);
PHP_FUNCTION(strtok);