Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004396 [Quercus] major always 02-15-11 04:37 02-25-11 13:19
Reporter geleont View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 4.0.14
Summary 0004396: Function pack has a bug
Description Minimal code to reproduce:
<?php
$packed = pack ("L", 84654);
print ord($packed[0]);
print"
";
print ord($packed[1]);
print"
";
print ord($packed[2]);
print"
";
print ord($fileSize[3]);
PHP result:
174
74
1
0
string(4) "J&65533;"
Quercus result:
0
1
74
174
string(4) "&65533;J"
Additional Information
Attached Files

- Relationships

- Notes
(0005085)
kdecherf
02-25-11 13:19

Patch proposal:
https://github.com/CleverCloud/Quercus/commit/0fa0b8a5175849471f57a4bf48039e4433f21beb [^]
 

- Issue History
Date Modified Username Field Change
02-15-11 04:37 geleont New Issue
02-15-11 15:05 kdecherf Issue Monitored: kdecherf
02-25-11 13:19 kdecherf Note Added: 0005085


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker