From: zhonghaijun at yahoo dot com dot cn
Operating system: z/OS
PHP version: 5.1.4
PHP Bug Type: Date/time related
Bug description: Date/time extensions are not EBCDIC compatible
Description:
------------
Date/Time extension are not EBCDIC compatible:
The code below will run into a mess in EBCDIC, while programme rans under
z/OS.
Reproduce code:
---------------
For example, following code will not out put the correct result under
z/OS(which based on EBCDIC)
if((yych = *YYCURSOR) <= 'E'){
if(yych <= ')'){
if(yych >= ')') goto yy132;
goto yy3;
} else {
if(yych <= '@') goto yy3;
if(yych <= 'D') goto yy133;
goto yy1311;
}
} else {
if(yych <= 'd'){
if(yych <= 'Z') goto yy133;
if(yych >= 'a') goto yy136;
goto yy3;
} else {
if(yych <= 'e') goto yy1320;
if(yych <= 'z') goto yy136;
goto yy3;
}
}
--
Edit bug report at http://bugs.php.net/?id=37928&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=37928&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=37928&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=37928&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37928&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=37928&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37928&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37928&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37928&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37928&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37928&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=37928&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=37928&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37928&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37928&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37928&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37928&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37928&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37928&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37928&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37928&r=mysqlcfg