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
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: 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