PAL.C.T MINI SHELL
<?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 M�ttig (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���~�or�5�J�={��E��e�u磝Qk��ᯘG{�?���+�]������ן�?w�M3X^��歌>{�7پ�K�>�o��n�\����j�y��R���g/�=��f�O��r�o��NV�v��~�Y+��NG�u���Ý����HW��y�w�[eQ�ʨ�S�b��>������>�}G�mx[o[<��{���Ϯ_��qF���vMIEND�B`�