php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5354 asort problem
Submitted: 2000-07-04 12:15 UTC Modified: 2000-07-24 09:08 UTC
From: miguel at becas dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.1pl2 OS: Suse 6.4
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: miguel at becas dot com
New email:
PHP Version: OS:

 

 [2000-07-04 12:15 UTC] miguel at becas dot com
An script that works with php3 fails in php4.0.1pl2 stopping the text output (but not always is like a random bug).
I noticed that comenting the asort line the behavior was ok.
if (count($palarray)!=0)
{
	asort($palarray);
....

it looks like corrupt memory

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-04 12:17 UTC] stas at cvs dot php dot net
What's in $palarray? Could you make var_dump before asort?
 [2000-07-24 09:08 UTC] stas@php.net
no feedback
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 11:00:01 2026 UTC