Warning: Invalid argument supplied for foreach() in /home/jihswbiz/public_html/t6.gwilt.org/refDox.php on line 212
Docs-explodes

 

ReLoad

Keys


Functions

arraybrowsercolorcookiedatetimeDBdebugdeviceDSTequiverrorflagsfontformatgeo
holidayhtmlisjsonmathparsePHPprintsearchsortstringtabletexttracetype
VOTDweatherxml

Function  explodes   Lines 528-542 (14 lines) file  utilsDebug.php   Last mod: Mon 2021-05-03 17:55:24

function explodes $delims$str$lim="" )
        {
#-k     parse string
#-      Whichever of these delimiters are in the string, replace them with the first one, them explode string
#-      This can be used to explode file paths in either Windows or Unix slash delimeters.
#-p     $delims - req   - delimeter string
#-p     $str    - req   - string to be exploded
#-p     $lim    - opt   - max # explodes to perform
#-p             - ret   - Array of exploded parts of $str

        
$exp str_replace $delims$delims[0], $str );
        
$arr explode $delims[0], $exp$lim );
        return  
$arr;
        }

?>