Re: [PHP-DEV] [RFC] APC/PHP Lazy Loading

2009-03-10 Thread Dmitry Stogov
Hi, Personally, I like the patch except for some small possible tweaks, and I believe it can't make any harm with lazy loading disabled. Could you provide some benchmark results? APC patch to play with it and see advantages/disadvantages? Thanks. Dmitry. shire wrote: Lukas Kahwe Smith wrote

[PHP-DEV] Changing build configuration acinclude.m4

2009-03-10 Thread Christopher Jones
Does anyone (where's Jani?) want to comment on updating (*) the definition of PHP_SHLIB_SUFFIX_NAMES in acinclude.m4? The PHP_SHLIB_SUFFIX_NAMES macro is very simplistic in setting the SHLIB_SUFFIX_NAME shared lib file extension. In comparison, the AC_LIBTOOL_SYS_DYNAMIC_LINKER macro in build/l

Re: [PHP-DEV] Towards 5.3 RC

2009-03-10 Thread Greg Beaver
Stanislav Malyshev wrote: > Hi! > >> That said: On the wiki is a list of open items >> http://wiki.php.net/todo/php53#next_release_beta2rc1 > > I don't think #21 there is a bug - AFAIK client of get_class_name is > supposed to free it - which happens automatically if this is assigned to > zval, b

Re: [PHP-DEV] About GSoC 2009

2009-03-10 Thread Marcus Boerger
Hello Johannes, Wednesday, February 11, 2009, 12:29:12 PM, you wrote: > Hi, > last weekend at FOSDEM in Brussels Leslie Hawthorn announced this year's > Google Summer of Code program. Meanwhile the FAQ including the timeline > has been published. > http://code.google.com/opensource/gsoc/2009/fa

Re: [PHP-DEV] Cloning of objects passed as parameters

2009-03-10 Thread Marcus Boerger
Hello Frankie, Tuesday, March 10, 2009, 5:19:32 PM, you wrote: > I'm writing a PHP class with a method that has to be passed a > DOMDocument object, and it needs to retain that object throughout the > life of its instantiation. However, the (dom_object *) returned from > zend_parse_method_para

[PHP-DEV] [PATCH] Bug #46926 - mktime() is slow when passed negative arguments

2009-03-10 Thread Martin McNickle
Hi, I've provided a patch for Bug #46926 [1]. [1] http://bugs.php.net/bug.php?id=46926 -- Martin McNickle -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] APC/PHP Lazy Loading

2009-03-10 Thread shire
Lukas Kahwe Smith wrote: On 22.02.2009, at 01:10, shire wrote: I've just checked into APC CVS preliminary support for Lazy Loading classes and functions. This means that rather than copying function entries into EG(function_table) and EG(class_table) when an include happen it will mark the fu

[PHP-DEV] Re: [PATCH] Netlink sockets support for Linux

2009-03-10 Thread Oleg A. Arkhangelsky
Hello, > This patch adds ability to send or receive data using Netlink [1] > sockets in Linux OS using Socket Functions in PHP. If you're going > to commit this patch, some additions to documentation will be > needed. Just let me know. I would very appreciate your comments! > [1] http://en.wikiped

Re: [PHP-DEV] Towards 5.3 RC

2009-03-10 Thread Stanislav Malyshev
Hi! That said: On the wiki is a list of open items http://wiki.php.net/todo/php53#next_release_beta2rc1 I don't think #21 there is a bug - AFAIK client of get_class_name is supposed to free it - which happens automatically if this is assigned to zval, but otherwise it should be handled by ca

[PHP-DEV] Cloning of objects passed as parameters

2009-03-10 Thread Frankie Dintino
I'm writing a PHP class with a method that has to be passed a DOMDocument object, and it needs to retain that object throughout the life of its instantiation. However, the (dom_object *) returned from zend_parse_method_parameters is just a pointer to the passed object, and so it disappears when

[PHP-DEV] Towards 5.3 RC

2009-03-10 Thread Johannes Schlüter
Hi, I wrote a mail last Friday about this but it seems like it got lost. I wanted to go RC on Thursday, as this now would be a rather short-time announcement (while quite a few devs already knew) this plan has changed by a week: PHP 5.3.0 RC 1 is now scheduled for Thursday 2009/03/19. This mea

Re: [PHP-DEV] [PATCH] Bug #45799 - imagepng() crashes on empty image

2009-03-10 Thread Martin McNickle
Patch is in the tracker now. -- Martin On Tue, 2009-03-10 at 12:19 +0100, Pierre Joye wrote: > hi, > > Please post a link to the patch in the bug tracker directly. > > Thanks for your work, > > Cheers, > > On Tue, Mar 10, 2009 at 12:17 PM, Martin McNickle > wrote: > > Hi all, > > > > I've cr

Re: [PHP-DEV] [PATCH] Bug #45799 - imagepng() crashes on empty image

2009-03-10 Thread Pierre Joye
hi, Please post a link to the patch in the bug tracker directly. Thanks for your work, Cheers, On Tue, Mar 10, 2009 at 12:17 PM, Martin McNickle wrote: > Hi all, > > I've created a simple patch for Bug #45799 [1] > > It employs a simple check to see if there are any colors associated with > th

[PHP-DEV] [PATCH] Bug #45799 - imagepng() crashes on empty image

2009-03-10 Thread Martin McNickle
Hi all, I've created a simple patch for Bug #45799 [1] It employs a simple check to see if there are any colors associated with the image before outputting the PNG header. The patch is against CVS 5.3, shown below for convenience. I can create patches for the other branches if required. The test

Re: [PHP-DEV] Patch and test cases too for

2009-03-10 Thread Richard Quadling
2009/3/2 Scott MacVicar : > Richard Quadling wrote: >> 2009/3/2 Scott MacVicar : >>> Richard Quadling wrote: Hi. Regarding http://bugs.php.net/bug.php?id=47493, I've supplied a patch to the unit tests too. Any chance this could get committed to 5.2+ >>> I'm too co

Re: [PHP-DEV] [RFC] APC/PHP Lazy Loading

2009-03-10 Thread Lukas Kahwe Smith
On 22.02.2009, at 01:10, shire wrote: I've just checked into APC CVS preliminary support for Lazy Loading classes and functions. This means that rather than copying function entries into EG(function_table) and EG(class_table) when an include happen it will mark the functions/classes as