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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
39 - 37 = ?
Subscribe to this entry?

 
 [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: Sat Apr 20 05:01:27 2024 UTC