From 8dd1fdb1a0fc04c735e2b71471ab2ea4e45b8734 Mon Sep 17 00:00:00 2001 From: David Croft Date: Sat, 22 Jul 2000 01:12:24 +0000 Subject: wordwrap function from Chris Russel 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 (David Croft) --- ext/standard/php_string.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/standard/php_string.h') 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); -- cgit v1.2.1