php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9975 perse error causes core dump
Submitted: 2001-03-25 03:35 UTC Modified: 2001-03-26 03:34 UTC
From: jr at hyphen dot org Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.4pl1 OS: solaris 2.7
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: jr at hyphen dot org
New email:
PHP Version: OS:

 

 [2001-03-25 03:35 UTC] jr at hyphen dot org
the following code will cause "php -l" to core dump:

strtoupper(;

yes, there should be a closing parenthesis.  but i would think that the parser should see that and complain approriately.  in fact, i thought that i've seen it do it before.  i'm guessing that any function can cause this.  strtoupper() was just a random test.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-26 03:34 UTC] sniper@php.net
I can't reproduce this with the latest CVS.
Please try the latest CVS snapshot from http://snaps.php.net/
Reopen this bug report if problem still persist when using the snapshot.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 19:01:32 2025 UTC