From:             lars dot jensen at careercross dot com
Operating system: FreeBSD 5.3
PHP version:      5.0.3
PHP Bug Type:     Arrays related
Bug description:  Use of certain kanji characters make PHP crash

Description:
------------
Certain Kanji direct in source seems to be a problem - wanted to use a
small array for some simple language changes between english / japanese,
but with these given kanji's it fail.

Viewing the Kanji's as ascii, they both hold " in it, but closing the
array strings using ', it shouldnt affect the strings.

Example provided at http://www.ebenkyo.com/bug.php

/ Lars

Reproduce code:
---------------
As the code holds kanji characters, use this page to see the source.
Please ensure to see the page using shift_jis encoding

http://www.ebenkyo.com/bug_source.php

Expected result:
----------------
The array not to fail with given Kanji's. Most Kanji sequences seem to
work.

Actual result:
--------------
Parse error: parse error, unexpected T_STRING, expecting ')' in
/usr/local/www/www.ebenkyo.com/bug.php on line 4

or similar

-- 
Edit bug report at http://bugs.php.net/?id=33273&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33273&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33273&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33273&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33273&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33273&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33273&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33273&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33273&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33273&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33273&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33273&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33273&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33273&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33273&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33273&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33273&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33273&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33273&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33273&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33273&r=mysqlcfg

Reply via email to