The use of $z in BOLTargs seems to be removed, and yet, should
myBOLTargShortcuts exist, it is used.
function BOLTargs($x, $type='', $optpat='(?>(\\w+)=)') {
## POWERFUL FUNCTION FOR PARSING A PARAMETER STRING INTO AN ARRAY,
USED MANY PLACES.
$count = 0;
preg_match_all("/($optpat|[-+])?(\"[^\"]*\"|'[^']*'|\\S+)/",
$x, $terms, PREG_SET_ORDER);
foreach($terms as $t => $tt) {
if ($terms[$t][2] == '') {
$count = $count + 1;
$args[$count] = BOLTstripquotes($terms[$t]
[3]);
}
else $args[$terms[$t][2]] = BOLTstripquotes($terms[$t]
[3]);
}
if (function_exists('myBOLTargShortcuts')) $z =
myBOLTargShortcuts($z, $type);
return $args;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---