[Tickets #8586] turba/lib/Data/ldif.php uses function only avail in PHP >= 5.1

bugs at horde.org bugs at horde.org
Fri Sep 18 11:33:10 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8586
------------------------------------------------------------------------------
  Ticket             | 8586
  Created By         | pop3 at flachtaucher.de
  Summary            | turba/lib/Data/ldif.php uses function only avail in PHP
                     | >= 5.1
  Queue              | Turba
  Version            | 2.3.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


pop3 at flachtaucher.de (2009-09-18 07:33) wrote:

The file turba/lib/Data/ldif.php uses a function only available in PHP  
 >= 5.1 (not in PHP4): array_intersect_key

Depency on PHP>= 5.1 is not noted in the INSTALL file of horde or  
turba, according to those files turba should work with PHP4.

Workaround: If function is not defined implement it, for example like here:

http://snipplr.com/view/4920/arrayintersectkey-for-php4/






More information about the bugs mailing list