Bug #68928 [Fbk->NoF]: class use{} crash
| From: | php-bugs at lists dot php dot net | Date: | Sun, 08 Feb 2015 04:22:17 +0000 |
| Subject: | Bug #68928 [Fbk->NoF]: class use{} crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-190520@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68928&edit=1
ID: 68928
Updated by: php-bugs@lists.php.net
Reported by: bugzilla77 at gmail dot com
Summary: class use{} crash
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: *Compile Issues
Operating System: win7 32bit
PHP Version: 5.6.5
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-01-28 14:46:40] ab@php.net
x64\Debug\php.exe -n -r "class use{}"
Parse error: syntax error, unexpected 'use' (T_USE), expecting identifier (T_STRING) in
Command line code on line 1
@bugzilla77 we need a backtrace.
Thanks.
------------------------------------------------------------------------
[2015-01-28 10:54:31] yohgaki@php.net
Windows only? Tried both TS/NTS on linux works as expected. What is your output of "Zend
Extension Build" line from "php -i" or phpinfo()
[yohgaki@dev github-php-src]$ php
<?php
class use{}
?>
PHP Parse error: syntax error, unexpected 'use' (T_USE), expecting identifier (T_STRING)
in - on line 2
------------------------------------------------------------------------
[2015-01-28 08:32:44] bugzilla77 at gmail dot com
Description:
------------
class use{} crash
Test script:
---------------
<?php
class use{}
?>
Expected result:
----------------
fatal error
Actual result:
--------------
crash
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68928&edit=1