|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63747 Japanese particular multi-byte charcter before double quaot
Submitted: 2012-12-12 00:28 UTC Modified: 2013-02-18 00:36 UTC
From: mukarami dot kazuo at jp dot fujitsu dot com Assigned:
Status: No Feedback Package: Strings related
PHP Version: 5.4.9 OS: windows7 professional 32bit
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mukarami dot kazuo at jp dot fujitsu dot com
New email:
PHP Version: OS:


 [2012-12-12 00:28 UTC] mukarami dot kazuo at jp dot fujitsu dot com
Japanese particular japanese multi-byte charcter before double quaot
occurs error.

FOR example php script file vtt.php contains only 1 line as bellow
<?php print("予"); ?>

sample of execution
php vtt.php
PHP Parse error:  syntax error, unexpected end of file, expecting variable (T_VA
RIABLE) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in C:\apache\dev
elop\vtt.php on line 2

Test script:
<?php print("予"); ?>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-12 01:49 UTC]
-Status: Open +Status: Feedback
 [2012-12-12 01:49 UTC]
What encoding is vtt.php saved in? It works for me with a UTF-8 file.
 [2013-02-18 00:36 UTC] php-bugs at lists dot php dot net
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 "Open". Thank you.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Jun 02 02:03:45 2023 UTC