ID:               37928
 Updated by:       [EMAIL PROTECTED]
 Reported By:      zhonghaijun at yahoo dot com dot cn
-Status:           Open
+Status:           Feedback
 Bug Type:         Date/time related
 Operating System: z/OS
 PHP Version:      5.1.4
 New Comment:

Since I doubt anybody here has z/OS ready at hand, please provide a
patch or at least a detailed explanation of what should be done in
order to make it work with z/OS.
"won't output the correct result" is apparently not enough.


Previous Comments:
------------------------------------------------------------------------

[2006-06-27 14:31:16] zhonghaijun at yahoo dot com dot cn

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 this bug report at http://bugs.php.net/?id=37928&edit=1

Reply via email to