Reply to Re: PHP array_combine functionality

Your name:

Reply:


Posted by Andy Hassall on 08/29/05 20:47

On Mon, 29 Aug 2005 17:36:47 GMT, muldoonaz <donot@spam.me.com> wrote:

>Is there a similar function in PHP4 that produces the same results that
>array_combine does in PHP5? I'm trying to combine array1 and array2
>using array1 as the keys and array2 as the values.

Have a look at PEAR's PHP_Compat package:

http://pear.php.net/manual/en/package.php.php-compat.intro.php
http://pear.php.net/manual/en/package.php.php-compat.components.php

Either install that, or have a look at the source to see how they implemented
array_combine for PHP4.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[Back to original 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

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