| // +----------------------------------------------------------------------+ // // $Id: vprintf.php,v 1.1.2.1 2006-12-12 08:16:42 alex Exp $ // /** * Replace vprintf() * * @category PHP * @package PHP_Compat * @link http://php.net/function.vprintf * @author Aidan Lister * @version $Revision: 1.1.2.1 $ * @since PHP 4.1.0 * @require PHP 4.0.4 (call_user_func_array) */ if (!function_exists('vprintf')) { function vprintf ($format, $args) { if (count($args) < 2) { trigger_error('vprintf() Too few arguments', E_USER_WARNING); return null; } array_unshift($args, $format); return call_user_func_array('printf', $args); } } ?>