If you don`t have this function, yuo can use this:
<?php
if( !defined("FUNCTIONS_INC_PHP") )
{
define("FUNCTIONS_INC_PHP","1.0");
function func_alias($funcname, $targetname)
{
$ok = true;
if( !function_exists($funcname) ) $ok = false;
if( function_exists($targetname)) $ok = false;
if( $ok )
{
$command = "function ".$targetname."() { ";
$command.= "\$args = func_get_args(); ";
$command.= "return call_user_func_array(\"".$funcname."\", \$args); }";
@eval($command);
if( !function_exists($targetname) ) $ok = false;
}
return $ok;
}
func_alias("func_alias","function_copy");
if(!function_exists("runkit_function_copy"))
{
func_alias("func_alias","runkit_function_copy");
}
}
?>