php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6236 array_diff() lost its identity
Submitted: 2000-08-18 08:36 UTC Modified: 2000-08-18 08:59 UTC
From: waldschrott@php.net Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Latest CVS (18/08/2000) OS: w2k
Private report: No CVE-ID: None
 [2000-08-18 08:36 UTC] waldschrott@php.net
build: 08-14
priority: low
watch the error message, array_diff() tells me to be
array_intersect(), perhaps an issue for a psychiatrist ;)
note the function works perfectly...

<?php
$a=array(1,2,3,4);
$b=array(1,2);
$c=NULL;
var_dump(array_diff($a,$b,$c));
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-18 08:59 UTC] jmoore@php.net
closing because its been fixed by Hartmut in CVS
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun May 28 20:03:43 2023 UTC