Bug #70074 [Fbk->NoF]: "Finally" clause after try throws syntax error

From: Date: Sun, 26 Jul 2015 04:22:17 +0000
Subject: Bug #70074 [Fbk->NoF]: "Finally" clause after try throws syntax error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194717@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70074&edit=1 ID: 70074 Updated by: php-bugs@lists.php.net Reported by: banka5 at inbox dot lv Summary: "Finally" clause after try throws syntax error -Status: Feedback +Status: No Feedback Type: Bug Package: Compile Failure Operating System: OSX 10.10 PHP Version: 7.0.0beta1 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2015-07-14 20:01:02] kalle@php.net I cannot reproduce this on Windows with any of the PHP7 releases or current master from git, did you compile it yourself and is the language scanners/parsers regenerated? ------------------------------------------------------------------------ [2015-07-14 17:05:41] nikic@php.net Related To: Bug #70075 ------------------------------------------------------------------------ [2015-07-14 16:56:47] banka5 at inbox dot lv Description: ------------ I get "Syntax error, unexpected 'finally' (T_STRING), expecting catch (T_CATCH)" error when running my code on 7.0.0-beta1, while the same code works fine on 5.6.8. Tested on Ubuntu Server 14.04.2 LTS as well - same problem. Test script: --------------- try { // Some code } finally { // Some code } ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70074&edit=1

« previous php.bugs (#194717) next »