Re: [PHP-DEV] [RFC] Zend Signal Handling

2008-08-20 Thread Lucas Nealan
How shall we continue with this patch? Arnaud, I need an updated HEAD patch to match the changes made in 5.3. There's valid concern about performance in ZTS, which seems hard to address without the __thread changes. It seems you are working on to get this into 6.0. Dmitry, Lukas, Arnaud and othe

RE: [PHP-DEV] [PATCH] ZTS as fast as non-ZTS

2008-08-20 Thread Andi Gutmans
I think that's a fair assumption given there's a lot more research that has to be done on this topic. Andi > -Original Message- > From: Lukas Kahwe Smith [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 20, 2008 9:40 AM > To: Arnaud Le Blanc > Cc: PHP Development; Johannes Schlüter

Re: [PHP-DEV] [PATCH] add imap_myrights

2008-08-20 Thread Jani Taskinen
Diego Woitasen kirjoitti: Hi, I attach the patch that adds imap_myrights function to IMAP module. MYRIGHTS is a standard IMAP command defined in RFC 2086. diff -u -r php-5.2.6/ext/imap/php_imap.c php-myrights/ext/imap/php_imap.c --- php-5.2.6/ext/imap/php_imap.c Thu Apr 17 13:04:49 200

Re: [PHP-DEV] bug #43941

2008-08-20 Thread Rasmus Lerdorf
Stanislav Malyshev wrote: Hi! Are there any objections to incorporating bugfix for #43941 (fix for how json handles invalid UTF-8 sequences) into 5.2? I had some requests about it, right now it's only in 5.3+. Go ahead. It is an obvious bug fix. -Rasmus -- PHP Internals - PHP Runtime Develo

Re: [PHP-DEV] bug #43941

2008-08-20 Thread William A. Rowe, Jr.
Stanislav Malyshev wrote: Hi! Are there any objections to incorporating bugfix for #43941 (fix for how json handles invalid UTF-8 sequences) into 5.2? I had some requests about it, right now it's only in 5.3+. Is there the alternative of substituting an unmappable character FFFD in place of

[PHP-DEV] bug #43941

2008-08-20 Thread Stanislav Malyshev
Hi! Are there any objections to incorporating bugfix for #43941 (fix for how json handles invalid UTF-8 sequences) into 5.2? I had some requests about it, right now it's only in 5.3+. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [

[PHP-DEV] [PATCH] add imap_myrights

2008-08-20 Thread Diego Woitasen
Hi, I attach the patch that adds imap_myrights function to IMAP module. MYRIGHTS is a standard IMAP command defined in RFC 2086. diff -u -r php-5.2.6/ext/imap/php_imap.c php-myrights/ext/imap/php_imap.c --- php-5.2.6/ext/imap/php_imap.c Thu Apr 17 13:04:49 2008 +++ php-myrights/ext/imap/

Re: [PHP-DEV] CVS Account Request: cseiler

2008-08-20 Thread Johannes Schlüter
On Thu, 2008-08-21 at 01:11 +0200, Lars Strojny wrote: > Am Montag, den 11.08.2008, 12:18 -0700 schrieb Christian Seiler: > > Maintaining closures, see http://news.php.net/php.internals/39835 > > What's with that? should be activated and has usual karma. johannes -- PHP Internals - PHP Runtim

Re: [PHP-DEV] CVS Account Request: cseiler

2008-08-20 Thread Lars Strojny
Am Montag, den 11.08.2008, 12:18 -0700 schrieb Christian Seiler: > Maintaining closures, see http://news.php.net/php.internals/39835 What's with that? cu, Lars -- Jabber: [EMAIL PROTECTED] Weblog: http://usrportage.de signature.asc Description: Dies ist ein digital signierter Nachrichten

Re: [PHP-DEV] potential shutdown order issue

2008-08-20 Thread Lukas Kahwe Smith
On 17.07.2008, at 03:29, Greg Beaver wrote: Stanislav Malyshev wrote: Hi! zend_destroy_rsrc_list(&EG(regular_list)). On the next line, zend_post_deactivate_modules() is called, which steps through the module list and unloads all the dynamically loaded modules. If one of these dl() is

Re: [PHP-DEV] Namespace Global User Function Calls

2008-08-20 Thread Stanislav Malyshev
Hi! I can't seem to get global user function calls to work from namespaces in the latest 5.3 snaps. This is on Win XP SP2 using Apache 2.2.8 and the php5apache2_2.dll. Example: global_file.php --- require 'namespace_file.php'; function globalFunc() { 'Global Called!'; } TestN

Re: [PHP-DEV] Unable to load Intl extension

2008-08-20 Thread Stanislav Malyshev
Hi! Please don't, they are not compatible (not with snaps or the VC9 builds). ICU 4.x may be compatible with VC9 but not 3.x. My bad, sorry :) -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP

Re: [PHP-DEV] [PATCH] Allow mixed $initial in array_reduce

2008-08-20 Thread Lars Strojny
Hi Lukas, hi Christian, Am Mittwoch, den 20.08.2008, 18:38 +0200 schrieb Lukas Kahwe Smith: [...] > Has this been commited yet? Just wanted to give the blessing of the > two RMs .. Committed. Was informed that Christian has a CVS account after I did the backporting to 5_3. The next time you can

Re: [PHP-DEV] Unable to load Intl extension

2008-08-20 Thread Pierre Joye
hi Stan, On Wed, Aug 20, 2008 at 7:43 PM, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > Hi! > >> PHP Warning: PHP Startup: Unable to load dynamic library >> 'C:/PHP53/ext/php_intl.dll' - The specified module could not be found.\r\n >> in Unknown on line 0 >> >> I am 100% sure that the dll IS lo

Re: [PHP-DEV] Unable to load Intl extension

2008-08-20 Thread Pierre Joye
hi Ryan, On Wed, Aug 20, 2008 at 6:00 AM, Ryan Panning <[EMAIL PROTECTED]> wrote: > I am unable to load the Intl extension on Windows XP SP2 using Apache 2.2.8 > and the php apache module. I have tried everything I can think of and for > the life of me cannot get it to load. The Apache error log k

Re: [PHP-DEV] [PATCH] ZTS as fast as non-ZTS

2008-08-20 Thread Kalle Sommer Nielsen
2008/8/20 Arnaud Le Blanc <[EMAIL PROTECTED]>: > Hi, > > On Tuesday 19 August 2008 18:22:44 Andi Gutmans wrote: >> OK checked with Zeev. It seems there are some significant limitations at >> least on Windows including that it doesn't work with LoadLibrary() >> (which is our bread and butter). > > O

Re: [PHP-DEV] Annotations Request

2008-08-20 Thread Paweł Stradomski
W liście Marcus Boerger z dnia środa, 20 sierpnia 2008: > Hello Volodymyr, > Basically there is no need for annotations in PHP unlike there is in Python > for instance. However, while the following work: > php -r 'class T { const C=42; var $p=T::C; } var_dump(new T);' > php -r 'class T { const C=4

Re: [PHP-DEV] [PATCH] Apache 1.x sapi timeout name fix

2008-08-20 Thread Johannes Schlüter
Hi, is anybody with deeper Apache knowledge around who can review that? Thnaks, johannes On Fri, 2008-08-15 at 19:36 -0700, Lucas Nealan wrote: > Hello, > > Apache 1.x SAPI will occasionally timeout with a "Read POST information > timeout" error instead of a "send timeout" error as it should. T

Re: [PHP-DEV] Unable to load Intl extension

2008-08-20 Thread Stanislav Malyshev
Hi! PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP53/ext/php_intl.dll' - The specified module could not be found.\r\n in Unknown on line 0 I am 100% sure that the dll IS located there and is readable by PHP/Apache. Other extensions are loaded from that directory as well. T

Re: [PHP-DEV] [PATCH] ZTS as fast as non-ZTS

2008-08-20 Thread Lukas Kahwe Smith
Hi, Just as a clarification, it is Johannes and my understanding that this is not targeted for inclusion into 5.3.0. regards, Lukas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] __getStatic

2008-08-20 Thread Lukas Kahwe Smith
On 15.08.2008, at 12:06, Marcus Boerger wrote: Hello Timm, Friday, August 15, 2008, 12:44:19 AM, you wrote: Hi again, Attached you'll find an incomplete patch against PHP_5_3 to add this functionality. If you like it let me know and I can finish it. Darn, seems the list didn't like my t

Re: [PHP-DEV] [PATCH] Allow mixed $initial in array_reduce

2008-08-20 Thread Lukas Kahwe Smith
Hey, Has this been commited yet? Just wanted to give the blessing of the two RMs .. regards, Lukas On 17.08.2008, at 11:30, Marcus Boerger wrote: Hello Christian, patch looks good to me :-) marcus Saturday, August 16, 2008, 3:56:27 PM, you wrote: ? ext/standard/tests/x Index: ext/sta

Re: [PHP-DEV] Annotations Request

2008-08-20 Thread Marcus Boerger
Hello Volodymyr, Tuesday, August 19, 2008, 3:54:16 PM, you wrote: > Hi, > Is there a chance to have annotations like in Java or like .NET attributes? > Now, I use Java Annotations emulation, through Reflections and PHPDoc > blocks. Example: > /** Annotation One*/ > class DemoAnnotation1 exten

[PHP-DEV] Re: Annotations Request

2008-08-20 Thread Lupus Michaelis
Volodymyr Iatsyshyn a écrit : Now, I use Java Annotations emulation, through Reflections and PHPDoc blocks. Example: Can you provide an URL that explain what is annotation ? Your examples don't help me, so I guess I'm not alone. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- P

[PHP-DEV] Annotations Request

2008-08-20 Thread Volodymyr Iatsyshyn
Hi, Is there a chance to have annotations like in Java or like .NET attributes? Now, I use Java Annotations emulation, through Reflections and PHPDoc blocks. Example: /** Annotation One*/ class DemoAnnotation1 extends C01t_Annotation { public $value; } /** Annotation Two*/ class DemoAnno