www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

util.php (189B)


      1 <?php
      2 
      3 function qw($arg, $sep = " ") {
      4 	if (is_array($arg)) return $arg;
      5 	$ret = array();
      6 	foreach(explode($sep, $arg) as $v) {
      7 		if ($v !== "") array_push($ret, $v);
      8 	}
      9 	return $ret;
     10 }
     11 
     12 ?>