php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay

| files >> /var/www/html/outlet/pusat/images/customer/php1/Compat/Function/ |
| files >> //var/www/html/outlet/pusat/images/customer/php1/Compat/Function/array_search.php |
<?php
/**
* Replace array_search()
*
* @category PHP
* @package PHP_Compat
* @license LGPL - http://www.gnu.org/licenses/lgpl.html
* @copyright 2004-2007 Aidan Lister <aidan@php.net>, Arpad Ray <arpad@php.net>
* @link http://php.net/function.array_search
* @author Aidan Lister <aidan@php.net>
* @author Thiemo Mttig (http://maettig.com/)
* @version $Revision: 269597 $
* @since PHP 4.0.5
* @require PHP 4.0.0 (user_error)
*/
function php_compat_array_search($needle, $haystack, $strict = false)
{
if (!is_array($haystack)) {
user_error('array_search() Wrong datatype for second argument', E_USER_WARNING);
return false;
}
foreach ($haystack as $key => $value) {
if ($strict ? $value === $needle : $value == $needle) {
return $key;
}
}
return false;
}
// Define
if (!function_exists('array_search')) {
function array_search($needle, $haystack, $strict = false)
{
return php_compat_array_search($needle, $haystack, $strict);
}
}
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`