#33258 [Ver->Bgs]: array_diff_key not present in PHP5

From: Date: Tue, 07 Jun 2005 10:04:20 +0000
Subject: #33258 [Ver->Bgs]: array_diff_key not present in PHP5
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969368479@lists.php.net to get a copy of this message
 ID:               33258
 Updated by:       vrana@php.net
 Reported By:      ml at iceni dot pl
-Status:           Verified
+Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: WinXP + Apache
 PHP Version:      5.0.4
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

It's PHP 5.1 only. There's a bug #33157 targeting this.


Previous Comments:
------------------------------------------------------------------------

[2005-06-07 01:22:16] ml at iceni dot pl

Description:
------------
Hi,
I was wondering if this function (array_diff_key) is really implemented
in PHP 5.0.4?
For more info, please look at comments here:
http://php.net/array_diff_key



Reproduce code:
---------------
$finalArray = array_diff_key($array1, $array2);

Expected result:
----------------
no error

Actual result:
--------------
Fatal error: Call to undefined function: array_diff_key() in xxxx.php
on line 239


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33258&edit=1


Thread (2 messages)

« previous php.doc (#969368479) next »