php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7787 Parse error not detected by the parser
Submitted: 2000-11-13 12:43 UTC Modified: 2000-12-30 19:59 UTC
From: vidal at ing dot puc dot cl Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.3pl1 OS: Windows 2000
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: vidal at ing dot puc dot cl
New email:
PHP Version: OS:

 

 [2000-11-13 12:43 UTC] vidal at ing dot puc dot cl
In a "switch" sentence I forgot to include the colon (:) after the keyword "default". PHP didn't detect the error when parsing the script and crashed. Windows showed me a box saying:

"php.exe has generated errors and will be closed by Windows. You will need to restart the program."

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-16 05:31 UTC] stas@php.net
Can you please bring a script example?

 [2000-12-30 19:59 UTC] sniper@php.net
No feedback.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jul 15 14:00:01 2026 UTC