You are here: Re: suggestions on improving this function? « All PHP « IT news, forums, messages
Re: suggestions on improving this function?

Posted by Hilarion on 08/23/05 19:21

> so array_diff and array_diff_key won't register if none are found?

I'm affraid I do not understand? "array_diff" and "array_diff_key"
do not register anything and they do not search for anything. They
"calculate" and return differences between arrays.


> i was worried even if there weren't any differences $error would
> return true.

$error will not return anything. It contains entries which are
in the array contained in first argument of "array_diff_key"
which do not have any equivalent entry in array contained in
second argument.


Hilarion

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация