php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37928 Date/time extensions are not EBCDIC compatible
Submitted: 2006-06-27 14:31 UTC Modified: 2006-07-05 01:00 UTC
From: zhonghaijun at yahoo dot com dot cn Assigned:
Status: No Feedback Package: Date/time related
PHP Version: 5.1.4 OS: z/OS
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-06-27 14:31 UTC] 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;
		}
	}


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-27 14:42 UTC] tony2001@php.net
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.
 [2006-07-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 20:01:29 2024 UTC