cvs: pear /PHP_Compat/Compat/Function array_udiff_assoc.php

From: Date: Tue, 31 Aug 2004 10:35:27 +0000
Subject: cvs: pear /PHP_Compat/Compat/Function array_udiff_assoc.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-23521@lists.php.net to get a copy of this message
aidan Tue Aug 31 06:35:27 2004 EDT Modified files: /pear/PHP_Compat/Compat/Function array_udiff_assoc.php Log: Fixed error messages http://cvs.php.net/diff.php/pear/PHP_Compat/Compat/Function/array_udiff_assoc.php?r1=1.8&r2=1.9&ty=u Index: pear/PHP_Compat/Compat/Function/array_udiff_assoc.php diff -u pear/PHP_Compat/Compat/Function/array_udiff_assoc.php:1.8 pear/PHP_Compat/Compat/Function/array_udiff_assoc.php:1.9 --- pear/PHP_Compat/Compat/Function/array_udiff_assoc.php:1.8 Wed Aug 25 23:26:21 2004 +++ pear/PHP_Compat/Compat/Function/array_udiff_assoc.php Tue Aug 31 06:35:27 2004 @@ -16,7 +16,7 @@ // | Aidan Lister <aidan@php.net> | // +----------------------------------------------------------------------+ // -// $Id: array_udiff_assoc.php,v 1.8 2004/08/26 03:26:21 aidan Exp $ +// $Id: array_udiff_assoc.php,v 1.9 2004/08/31 10:35:27 aidan Exp $ /** @@ -26,7 +26,7 @@ * @package PHP_Compat * @author Stephan Schmidt <schst@php.net> * @author Aidan Lister <aidan@php.net> - * @version $Revision: 1.8 $ + * @version $Revision: 1.9 $ * @link http://php.net/function.array-udiff-assoc * @since PHP 5 * @require PHP 4.0.1 (trigger_error) @@ -37,7 +37,7 @@ { $args = func_get_args(); if (count($args) < 3) { - trigger_error('Wrong parameter count for array_udiff()', E_USER_WARNING); + trigger_error('Wrong parameter count for array_udiff_assoc()', E_USER_WARNING); return; } @@ -48,7 +48,7 @@ if (is_array($compare_func)) { $compare_func = $compare_func[0].'::'.$compare_func[1]; } - trigger_error('array_udiff() Not a valid callback ' . $compare_func, E_USER_WARNING); + trigger_error('array_udiff_assoc() Not a valid callback ' . $compare_func, E_USER_WARNING); return; } @@ -57,7 +57,7 @@ for ($i = 0; $i < $count; $i++) { if (!is_array($args[$i])) { - trigger_error('array_udiff() Argument #' . ($i + 1) . ' is not an array', E_USER_WARNING); + trigger_error('array_udiff_assoc() Argument #' . ($i + 1) . ' is not an array', E_USER_WARNING); return; } }

« previous php.pear.cvs (#23521) next »