For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > June 2005 > #33258 [Opn->Ver]: array_diff_key not present in PHP5









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #33258 [Opn->Ver]: array_diff_key not present in PHP5
dmytton@php.net

2005-06-07, 8:56 am

ID: 33258
Updated by: dmytton@php.net
Reported By: ml at iceni dot pl
-Status: Open
+Status: Verified
Bug Type: Documentation problem
Operating System: WinXP + Apache
PHP Version: 5.0.4


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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com