php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1710 split() causes seg fault
Submitted: 1999-07-13 19:10 UTC Modified: 1999-07-15 02:45 UTC
From: evan715 at sirius dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.11 OS: Red Hat Linux 6.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: evan715 at sirius dot com
New email:
PHP Version: OS:

 

 [1999-07-13 19:10 UTC] evan715 at sirius dot com
When I try to run the following PHP script, I get:

[notice] child pid 13881 exit signal Segmentation fault (11)


<?
$file = file("alert");
for($i = 0; $i < sizeof($file); $i++)
$action = split(":",$file[$i]);
echo $action[1];
?> 

The file does exist and I cannot get any other information out of this. Thank you.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-15 01:51 UTC] evan715 at sirius dot com
It seems that the latest CVS version fixes this.
 [1999-07-15 02:45 UTC] rasmus at cvs dot php dot net
Probably a regex library mixup then.  Nothing changed in that part of the code.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 11:00:01 2026 UTC