[Tickets #4094] File/PDF.php - Bug since PHP 4.3.10 with certain locales

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Jul 3 10:41:26 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4094
-----------------------------------------------------------------------
 Ticket             | 4094
 Updated By         | thomas at gelf.net
 Summary            | File/PDF.php - Bug since PHP 4.3.10 with certain locales
 Queue              | Horde Framework Packages
 Version            | HEAD
 State              | Feedback
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


thomas at gelf.net (2006-07-03 10:41) wrote:

You're right :-( They really did a GREAT job *grrrr*

So I would consider to either return an instance of one of two distinct
classes (PHP >=4.3.10+ & PHP5 vs PHP <4.3.9) or to otherwise define
a FLOAT_TYPE constant (= $version_old ? 'f' : 'F') to be used in all the
sprintf strings.

Both are really ugly solutions - as too often with PHP :-(

I personally don't care about PHP < 4.3.10 as I'm fortunately doing most
of my work on 5.1.x - but you're absolutely right, File_PDF has to do
it's
work also for older PHP versions.

Do you consider one of my above suggestions viable?

Cheers,
Thomas Gelf




More information about the bugs mailing list