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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ml at iceni dot pl
New email:
PHP Version: OS:

 

 [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: Wed Apr 24 14:01:30 2024 UTC