Lines Matching refs:ret

58       if (!empty($matches[1])) $ret[($elements++)] = $matches[1];
59 $ret[('a' . ($elements++))] = $matches[2];
62 if ($input != "") $ret[($elements++)] = $input; //Whatever is left over
64 return $ret;
78 if (!empty($matches[1])) $ret[($elements++)] = $matches[1];
79 $ret[('a' . ($elements++))] = $matches[2];
82 if ($input != "") $ret[($elements++)] = $input; //Whatever is left over
84 return $ret;
97 $ret = "";
115 if ($init_chunk && $init_chunk < (strlen($string)+2)) $ret .= $le;
116 $ret .= $le . $string;
123 $ret .= substr($string, 0, $init_chunk) . $le;
126 elseif ($init_chunk) $ret .= $le;
128 $ret .= trim(chunk_split($string, $chunk, $le)) . $le;
133 return trim($ret);
182 $ret = "";
192 if ($init_chunk && $init_chunk < (strlen($string)+3)) $ret .= "=";
193 $ret .= $le . $string;
206 $ret .= $this->fixLE($matches[0] . "=", $le); //fixLE added 24/08/07
210 elseif ($init_chunk) $ret .= "=";
216 $ret .= $this->fixLE($le . $matches[0] . "=", $le); //fixLE added 24/08/07
223 if (substr($ret, -1) == "=") return trim(substr($ret, 0, -1));
224 else return trim($ret);
234 $ret = "";
250 $ret .= $string{$i};
254 $ret .= sprintf("=%02X", $val);
257 return $ret;
302 $ret = "";
303 while (false !== $bytes = $file->read(8192)) $ret .= $bytes;
304 $cache->write("7b", $this->fixLE(wordwrap($ret, $chunk-2, $le, 1), $le));
330 $ret = "";
331 while (false !== $bytes = $file->read(8192)) $ret .= $bytes;
332 $cache->write("8b", $this->fixLE(wordwrap($ret, $chunk-2, $le, 1), $le));
347 $ret = "";
353 $ret .= $first_line . $le;
356 elseif ($init_chunk) $ret .= $le;
357 $ret .= wordwrap($data, $chunk-2, $le);
358 return trim($ret);