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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: waldschrott@php.net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 09:01:29 2024 UTC