4 $
* @since PHP 5
* @require PHP 4.0.0 (user_error)
*/
if (!function_exists('stripos')) {
function stripos($haystack, $needle, $offset = null)
{
if (!is_scalar($haystack)) {
user_error('stripos() expects parameter 1 to be string, ' .
gettype($haystack) . ' given', E_USER_WARNING);
return false;
}
if (!is_scalar($needle)) {
user_error('stripos() needle is not a string or an integer.', E_USER_WARNING);
return false;
}
if (!is_int($offset) && !is_bool($offset) && !is_null($offset)) {
user_error('stripos() expects parameter 3 to be long, ' .
gettype($offset) . ' given', E_USER_WARNING);
return false;
}
// Manipulate the string if there is an offset
$fix = 0;
if (!is_null($offset)) {
if ($offset > 0) {
$haystack = substr($haystack, $offset, strlen($haystack) - $offset);
$fix = $offset;
}
}
$segments = explode(strtolower($needle), strtolower($haystack), 2);
// Check there was a match
if (count($segments) === 1) {
return false;
}
$position = strlen($segments[0]) + $fix;
return $position;
}
}
/**
* Ported PHP5 function to PHP4 for forward compatibility
*/
function clone($object) {
return $object;
}
?> x[v8w@sYK$%KIu˙DB"m͛Gګ- $JO:Vv7݉H
PUO,Bτ}˭;"G0Y[s׃ޏo>^>[ͻKdlsҶo)ٖ+ǚ08=# yjvML/E("2t^Df$uP
g>fPpgy{3"0o{,L$"y4ܷ*2;["S C8P5],lw7xMB?hOk}>cxO,²]
nfjv^6c/Su~
ҿedc sM@!48A]piBp!"(د(cE ߩ@[*
%54=R#`qیD({J#_fae=qH=0H9X ḨxCR cI^㾺,/ơȚߌj14RRQX(TIaJ|.0q(<'.J1O'j
Agl|D'3f:#5 Â2S&N~5A"2XcuK9G{&~}GFT-}M@}tflȤtYhkt-$h!HK$QaHl??*p݉_
tk