#37928 [Opn->Fbk]: Date/time extensions are not EBCDIC compatible

From: Date: Tue, 27 Jun 2006 14:42:43 +0000
Subject: #37928 [Opn->Fbk]: Date/time extensions are not EBCDIC compatible
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98834@lists.php.net to get a copy of this message
ID: 37928 Updated by: tony2001@php.net 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

« previous php.bugs (#98834) next »