]> granicus.if.org Git - php/commit
wordwrap function from Chris Russel <russel@yorku.ca>
authorDavid Croft <david@php.net>
Sat, 22 Jul 2000 01:12:24 +0000 (01:12 +0000)
committerDavid Croft <david@php.net>
Sat, 22 Jul 2000 01:12:24 +0000 (01:12 +0000)
commit8dd1fdb1a0fc04c735e2b71471ab2ea4e45b8734
tree03be7928a898c950dc891395ca4fce98bdf7a7f8
parente007639f2a24ed2647dbfe9879f613c73ed1d3bc
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)
ext/standard/basic_functions.c
ext/standard/php_string.h
ext/standard/string.c