Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-14 Thread Larry Garfield
On Thursday 14 August 2008 12:36:29 am Rasmus Lerdorf wrote: Larry Garfield wrote: I would also note that include up front and have a good autoload scheme works great if you are writing all classes. If you're trying to use namespaces and functions, there is no autoload. That makes the

Re: [PHP-DEV] Re: [PHP-DOC] cvs: TSRM(PHP_5_3) / tsrm_virtual_cwd.c tsrm_virtual_cwd.h php-src NEWS

2008-08-14 Thread Hannes Magnusson
On Thu, Aug 14, 2008 at 03:35, Daniel Convissor [EMAIL PROTECTED] wrote: On Wed, Aug 13, 2008 at 06:32:37PM +0400, Antony Dovgal wrote: On 13.08.2008 17:51, Daniel Convissor wrote: 43817 is definitely a regression bug. Things worked correctly in 5.2.1 and then got broken in 5.2.2. Merging

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-14 Thread Rasmus Lerdorf
Larry Garfield wrote: On Thursday 14 August 2008 12:36:29 am Rasmus Lerdorf wrote: Larry Garfield wrote: I would also note that include up front and have a good autoload scheme works great if you are writing all classes. If you're trying to use namespaces and functions, there is no autoload.

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-14 Thread Stan Vassilev | FM
For better or worse 99% of the code I write runs on systems without an opcode cache 99% of the time so that's what I optimize for. That it is apparently impossible to optimize for both opcode caching and non-opcode caching environments at the same time (the former hates conditional include,

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-14 Thread Larry Garfield
On Thursday 14 August 2008 2:08:23 am Stan Vassilev | FM wrote: For better or worse 99% of the code I write runs on systems without an opcode cache 99% of the time so that's what I optimize for. That it is apparently impossible to optimize for both opcode caching and non-opcode caching

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-14 Thread Marcus Boerger
Hello Stanislav, Thursday, August 14, 2008, 12:25:35 AM, you wrote: Hi! I think Marcus is talking about files that are included that do not specify a namespace explicitly. In this situation the context does matter. No it does not. Would anybody check what they are talking about before

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-14 Thread Marcus Boerger
Hello Guilherme, Thursday, August 14, 2008, 3:37:17 AM, you wrote: I read parts of the thread and I'm curious about a situation that seems Marcus' patch will deny. It seems that it'll be denied the possibility to require/include a file inside of a method of a class/function inside a

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-14 Thread Marcus Boerger
Hello Rasmus, Thursday, August 14, 2008, 7:36:29 AM, you wrote: Larry Garfield wrote: I would also note that include up front and have a good autoload scheme works great if you are writing all classes. If you're trying to use namespaces and functions, there is no autoload. That makes the

Re: [PHP-DEV] Re: [PHP-DOC] cvs: TSRM(PHP_5_3) / tsrm_virtual_cwd.c tsrm_virtual_cwd.h php-src NEWS

2008-08-14 Thread Daniel Convissor
Hi Hannes: Doesn't look like there will be a new 5.2 release any time soon I've heard THAT one before. :) --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-14 Thread Stanislav Malyshev
Hi! Start with yourself by checking out Zend/tests/ns_069.phpt and then come back if you see no problem there. Since I am sure you will ignore the issue here goes anyway. I do not see any problem there, right. The included file has a different scope. Hence a lot of stuff like reflection

RE: [PHP-DEV] Inconsistencies in 5.3

2008-08-14 Thread Catalin Zamfir Alexandru, DATAGRAM SRL
What do you mean are file-local?! So if I have a B.php, that includes A.php, and in A.php I have a namespace called Foo, I can't call a function from that namespace like Foo::someFunc () unless I call it from A.php?! So a Foo:someFunc () from B.php would be illegal? Cause if you're suggesting

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-14 Thread Rasmus Lerdorf
Marcus Boerger wrote: Hello Rasmus, Thursday, August 14, 2008, 7:36:29 AM, you wrote: Larry Garfield wrote: I would also note that include up front and have a good autoload scheme works great if you are writing all classes. If you're trying to use namespaces and functions, there is no

[PHP-DEV] Exception segfault

2008-08-14 Thread Lupus Michaelis
Hi, At first time, it was a bug in the useful xdebug, and I follow it to the PHP code http://bugs.xdebug.org/bug_view_page.php?bug_id=340. When exception::$message, exception::$line are not of the initial type, it segfaults (for strings) or display non-predictible data. The next

Re: [PHP-DEV] Exception segfault

2008-08-14 Thread Marcus Boerger
Hello Lupus, Thursday, August 14, 2008, 8:42:23 PM, you wrote: Hi, At first time, it was a bug in the useful xdebug, and I follow it to the PHP code http://bugs.xdebug.org/bug_view_page.php?bug_id=340. When exception::$message, exception::$line are not of the initial type,

Re: [PHP-DEV] Exception segfault

2008-08-14 Thread Marcus Boerger
Hello Marcus, Thursday, August 14, 2008, 9:17:34 PM, you wrote: Hello Lupus, Thursday, August 14, 2008, 8:42:23 PM, you wrote: Hi, At first time, it was a bug in the useful xdebug, and I follow it to the PHP code http://bugs.xdebug.org/bug_view_page.php?bug_id=340. When

Re: [PHP-DEV] Exception segfault

2008-08-14 Thread Felipe Pena
Em Qui, 2008-08-14 às 21:18 +0200, Marcus Boerger escreveu: Hello Marcus, Thursday, August 14, 2008, 9:17:34 PM, you wrote: Hello Lupus, Thursday, August 14, 2008, 8:42:23 PM, you wrote: Hi, At first time, it was a bug in the useful xdebug, and I follow it to the PHP

Re: [PHP-DEV] Exception segfault

2008-08-14 Thread Lupus Michaelis
Marcus Boerger a écrit : Thanks for letting us know. Can you provide the diff using 'cvs di -uwp'. I'll do it in the future. Sorry for the inconvenient, I didn't found what you're waiting for. So, I did a simple diff :) Thanks to you and Felipe. -- Mickaël Wolff aka Lupus Michaelis

[PHP-DEV] TSRM/tsrm_virtual_cwd.*

2008-08-14 Thread Uwe Pries
Hello internals, I use following configure script to build PHP 5.3.0alpha2-dev: #! /bin/sh # # Created by configure './configure' \ '--with-apxs2=/usr/local/apache/current/bin/apxs' \ '--with-config-file-path=/etc' \ '--enable-maintainer-zts' \ $@ With this config (here's my real one:

[PHP-DEV] __getStatic

2008-08-14 Thread Timm Friebe
Hi, on the member side, there is __get, __set, __isset and __unset - on the method side, there is __call (and now: __callstatic). I was wondering why there was no __getstatic and friends, but failed to find a reason. Attached you'll find an incomplete patch against PHP_5_3 to add this

Re: [PHP-DEV] __getStatic

2008-08-14 Thread Timm Friebe
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 text/plain attachment. Well, here we go: http://sitten-polizei.de/php/get-static.diff - Timm -- PHP

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

2008-08-14 Thread Arnaud Le Blanc
On Thursday 14 August 2008 02:59:48 Arnaud Le Blanc wrote: Hi, I made some changes to the patch: http://arnaud.lb.s3.amazonaws.com/php-5.3.0-alarms-0808141122.patch - Apache effectively seems to resets the signals after MINIT, so original handlers are now saved in RINIT in the first

Re: [PHP-DEV] __getStatic

2008-08-14 Thread Nathan Nobbe
On Thu, Aug 14, 2008 at 4:44 PM, Timm Friebe [EMAIL PROTECTED] 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 text/plain attachment. Well, here we go:

Re: [PHP-DEV] __getStatic

2008-08-14 Thread Ryan Panning
Nathan Nobbe wrote: On Thu, Aug 14, 2008 at 4:44 PM, Timm Friebe [EMAIL PROTECTED] 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 text/plain