php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20566 Dont exept try/catch
Submitted: 2002-11-22 04:27 UTC Modified: 2002-11-22 04:29 UTC
From: mikkel at linet dot dk Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.0RC1 OS: RH 8.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: mikkel at linet dot dk
New email:
PHP Version: OS:

 

 [2002-11-22 04:27 UTC] mikkel at linet dot dk
Zend Engine 2 is suppose to have try/catch exceptions. But the Engine fails on "try {" with:

"Parse error: parse error, unexpected '{'"

Seems it dos'nt understands the try and catch statements.

Can't find any info in the TODO list. But the file "http://www.php.net/ZEND_CHANGES.txt" shows exampels about exception handling. But the file php-4.3.0RC1/Zend/ZEND_CHANGES have no mention about it.

Is that an error or is try/catch not in Zend Engine 2 anyway ?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-22 04:29 UTC] jan@php.net
4.3RC1 does not come with ZE2
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 10:01:32 2025 UTC