php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #33258 array_diff_key not present in PHP5
Submitted: 2005-06-07 01:22 UTC Modified: 2005-06-07 12:04 UTC
From: ml at iceni dot pl Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 5.0.4 OS: WinXP + Apache
Private report: No CVE-ID: None
 [2005-06-07 01:22 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-07 12:04 UTC] vrana@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 16:01:29 2024 UTC