php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-12-12 00:28 UTC] mukarami dot kazuo at jp dot fujitsu dot com
Description:
------------
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("予"); ?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-12 01:49 UTC] aharvey@php.net
-Status: Open +Status: Feedback
 [2012-12-12 01:49 UTC] aharvey@php.net
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-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 10 15:05:45 2022 UTC