You appear to be a bot. Output may be restricted
Description
bbboing some textNote: In its first version this routine would transform "http://www.bobbingwide.com" to something pretty nasty similarly it could ruin any HTML tags or anything with %1$s To overcome this we're going to improve the bboing() function… replacing it with the new function bboing2()
Usage
$string = bbboing( $text );
Parameters
- $text
- ( mixed ) required –
Returns
string the bbboing'ed textSource
File name: bbboing/bbboing.incLines:
1 to 11 of 11
function bbboing( $text ) { $bbtext = ''; $words = explode( ' ', $text ); foreach ( $words as $word ) { $bbtext.= bboing2($word ); $bbtext.= " "; } $bbtext = trim( $bbtext ); return( $bbtext ); }View on GitHub View on Trac