php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8383 array_unique() causes core dump
Submitted: 2000-12-22 17:38 UTC Modified: 2001-03-09 21:31 UTC
From: jr at hyphen dot org Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.3pl1 OS: Solaris 2.7
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:
8 + 18 = ?
Subscribe to this entry?

 
 [2000-12-22 17:38 UTC] jr at hyphen dot org
array_unique() can cause php to core dump.  i haven't quite figured out the exact situation though.

this works:

array_unique(array("socket", "37", "99", "3d"));

this does not:

array_unique(array("socket", "370", "99", "3d"));

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-28 19:18 UTC] venaas@php.net
I'm pretty sure I've fixed it in CVS, please try the next snapshot
(you can get it at snaps.php.net or from CVS), and let me know
how it works.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 15:01:33 2024 UTC