Re: [PHP-DEV] Patches for a few Date/time related bugs

2010-01-27 Thread Arvind Srinivasan
Thanks Derick. Please could you point me to info on how the timelib_timezone_db_data (in ext/date/lib/timezonedb.h) is generated. /* This is a generated file, do not modify */ const unsigned char timelib_timezone_db_data_builtin[257664] = { (A couple of the timezone related bugs I looked at used

Re: [PHP-DEV] About optimization

2010-01-27 Thread Rasmus Lerdorf
Karsten Dambekalns wrote: > Why is that advisable? Any pointers to background information welcome. The gc code when combined with apc is still a bit shaky in 5.3. I haven't figured out why yet. And my motivation for figuring it out is pretty low as code that relies on gc is slow. -Rasmus --

[PHP-DEV] Help on compiling PHP for MIPS, Bus Error thrown

2010-01-27 Thread Angel Sánchez
Hi guys! I've been trying to cross-compile PHP for an embedded MIPS device with no luck, so I decided to build a developing environment inside a virtual machine with QEMU for developing PHP inside first. I have been trying different options for configure and all I get is a Bus Error 138 when I r

Re: [PHP-DEV] Patches for a few Date/time related bugs

2010-01-27 Thread Derick Rethans
On Wed, 20 Jan 2010, Arvind Srinivasan wrote: > I've updated each of the following bug reports > > http://bugs.php.net/bug.php?id=50475 - DateTime::setISODate followed > by DateTime::setTime > > http://bugs.php.net/bug.php?id=49059 - DateTime::diff() repeats > previous sub() operation > > http:

[PHP-DEV] Re: Patches for a few Date/time related bugs

2010-01-27 Thread Arvind Srinivasan
A few more patches (and test cases) for review: http://bugs.php.net/bug.php?id=46111 (strtotime() returns false for some valid timezones) http://bugs.php.net/bug.php?id=48902 ( datetimezone uses calcutta or kolkata) http://bugs.php.net/bug.php?id=50559 (Clone is not implemented for DateInterval

Re: [PHP-DEV] About optimization

2010-01-27 Thread Karsten Dambekalns
Hi. On 13.01.10 16:48, Rasmus Lerdorf wrote: > Alain Williams wrote: >> Unfortunately: APC does not work with PHP 5.3 -- I have a site where I would >> love to use it but I cannot. I use APC to great effect elsewhere. Hm. I have 5.3.1 with APC 3.1.3p1 and it runs fine. This is not a production en