Newer
Older
umgamf / core / shared / util / CompatPhp5.php
@reddawg reddawg on 11 Jun 2008 474 bytes Sync
<?php
/**
 * Add a few 4.3.0 functions to old versions of PHP
 * 
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @copyright (c) 2003 amfphp.org
 * @package flashservices
 * @subpackage io
 * @version $Id$
 */
function patched_array_search($needle, $haystack, $strict = FALSE) //We only need strict actually
{
	return array_search($needle, $haystack, $strict);
}

function microtime_float()
{
	return microtime(true);
}
?>