Bug #69944 [Opn->Nab]: Parse error.

From: Date: Fri, 26 Jun 2015 19:17:58 +0000
Subject: Bug #69944 [Opn->Nab]: Parse error.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193925@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69944&edit=1 ID: 69944 Updated by: cmb@php.net Reported by: alejosimon at gmail dot com Summary: Parse error. -Status: Open +Status: Not a bug Type: Bug Package: Scripting Engine problem Operating System: Windows 7 x64 PHP Version: 7.0.0alpha2 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Actually, ParseError is an exception now, and inherits from Throwable, see <http://3v4l.org/7GZoB>. Previous Comments: ------------------------------------------------------------------------ [2015-06-26 17:34:57] alejosimon at gmail dot com Description: ------------ He was convinced he would not see more such errors, but maybe have an error of concepts. My information is this RFC: https://wiki.php.net/rfc/throwable-interface Could check? Test script: --------------- <?php function @@merd( string $name ) {} ?> Expected result: ---------------- ParseError exception maybe! Actual result: -------------- Parse error: syntax error, unexpected '--' (T_DEC), expecting identifier (T_STRING) ... ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69944&edit=1

« previous php.bugs (#193925) next »