Re: [PHP-DEV] Re: How to build a real Trait thing without exclusion and renaming

2008-02-28 Thread Edmund Tam
Stefan Marr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] class Talker { use A, B, C, D { B::smallTalk instead A, C, D; //to be read like: use B::smallTalk // instead the implementations form A, C, D } } Excuse me for just raising a

Re: [PHP-DEV] PHP footprint and sharing code among SAPI binaries

2008-02-28 Thread Eugene San
Andi Gutmans wrote: Hi Eugene, Do you want to have an option to exclude libxml2 and its related functionality from the build? If so, have you done the analysis of what pieces of PHP create this dependency? Currently I've replaced libxml2 with libexpat + DOM in php, that solution saved

[PHP-DEV] Bug #44087

2008-02-28 Thread Hans Zaunere
All, I recently reported the following bug: http://bugs.php.net/bug.php?id=44087 I'd appreciate another look. It seems that there is a problem with how ./configure is locating libraries (which has happened in the past), unless I'm misunderstanding the purpose of the --with-libxml-dir

[PHP-DEV] get_defined_vars() inconsistencies and op_array-uses_this

2008-02-28 Thread Robin Fernandes
Hi all, At compile time, the engine detects whether $this is used in an op array (using opline_is_fetch_this()). If so, it sets the flag op_array-uses_this. At the start of each execute loop, if this flag is set and a context object is available, a reference to the context object is added to the

Re: [PHP-DEV] Re: [PDO] [RFC] An Idea for PDO 2

2008-02-28 Thread Marcus Boerger
Hello David, Wednesday, February 27, 2008, 9:27:16 PM, you wrote: Greetings, PDO community! My name is David Sceppa and I am a program manager working at Microsoft on improving SQL Server for PHP data hosting. Let me first just say that Microsoft is very interested in participating in the

Re: [PHP-DEV] RFC: documentation collaboration toolchain

2008-02-28 Thread Marcus Boerger
Hello Lukas, Monday, February 25, 2008, 5:04:45 PM, Pierre wrote: On Mon, Feb 25, 2008 at 3:59 PM, Derick Rethans [EMAIL PROTECTED] wrote: On Sat, 23 Feb 2008, Lukas Kahwe Smith wrote: Personally I prefer going with a wiki, because I do not have much affection with CVS for these kinds

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

2008-02-28 Thread Marcus Boerger
Hello Lars, I've approved your request but not given you any access rights up front. I'll do so as you send more patches. Feel free to continue sending them to me if you want. Sunday, February 24, 2008, 4:34:21 PM, you wrote: Continue my work on PHP and the Zend Engine, especially focusing

Re: [PHP-DEV] How to build a real Trait thing without exclusion and renaming

2008-02-28 Thread Marcus Boerger
Hello Stefan, Thursday, February 28, 2008, 8:30:48 AM, you wrote: Hi, Joshua Thompson schrieb: Andi Gutmans wrote: The following code shows a few things: - local properties which can be used in self-contained functionality. The storage is guaranteed to stay internal and will not clash

Re: [PHP-DEV] How to build a real Trait thing without exclusion and renaming

2008-02-28 Thread Marcus Boerger
Hello Andi, I agree with Stas about 'local' and actually his reasoning is why I simply suggested 'private'. That also has the advantage that people already know what it does. marcus Thursday, February 28, 2008, 5:14:17 AM, you wrote: -Original Message- From: Stanislav Malyshev

Re: [PHP-DEV] How to build a real Trait thing without exclusion and renaming

2008-02-28 Thread Marcus Boerger
Hello Stanislav, as much as what you say is true, it forces you to type a lot which is error prone. So when you want to make a function public then you need to do: function whatever() { A::whatever(); } And actually you have to repeat the protocol and there the fun begins. Not to begin even

Re: [PHP-DEV] Re: How to build a real Trait thing without exclusion and renaming

2008-02-28 Thread Marcus Boerger
Hello Lukas, you still cannot ignore basic inheritance or reuse rules. Protocols have to be respected - E_FATAL, fix your code. marcus Wednesday, February 27, 2008, 1:49:58 PM, you wrote: On 26.02.2008, at 04:19, Gregory Beaver wrote: My only objection is that this introduces two new

Re: [PHP-DEV] get_defined_vars() inconsistencies and op_array-uses_this

2008-02-28 Thread Lokrain
Hello Robin, This interesting issue, this should be patched asap! Vote +1. Best Regards, Dimitar Isusov

Re: [PHP-DEV] Re: [PDO] [RFC] An Idea for PDO 2

2008-02-28 Thread Lukas Kahwe Smith
On 28.02.2008, at 15:19, Marcus Boerger wrote: Hello David, Wednesday, February 27, 2008, 9:27:16 PM, you wrote: Greetings, PDO community! My name is David Sceppa and I am a program manager working at Microsoft on improving SQL Server for PHP data hosting. Thanks fro writing and

[PHP-DEV] PDO2 or PDO

2008-02-28 Thread Lukas Kahwe Smith
Hello, First up, I have been quite outspoken against CLA'ed code in PECL in the past. With the current proposal I am willing to reconsider this position. The main difference to me is that is that I expect the different vendors to take a much more active role in the development. This

RE: [PHP-DEV] How to build a real Trait thing without exclusion and renaming

2008-02-28 Thread Andi Gutmans
That's fine. I'm not attached to any name just the concept :) -Original Message- From: Marcus Boerger [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 6:42 AM To: Andi Gutmans Cc: Stas Malyshev; [EMAIL PROTECTED]; internals Mailing List Subject: Re: [PHP-DEV] How to build

[PHP-DEV] Non-breaking Traits

2008-02-28 Thread Joshua Thompson
Let me start out by saying that I like the traits proposal as it is now (you can argue the keywords etc. later). I am just offering an idea that I also would find acceptable, that gives the most control to the developer, and allows for non-breaking, stateful traits. Non-breaking Traits

[PHP-DEV] Re: PHP 5.3 build on Windows broken

2008-02-28 Thread Edward Z. Yang
Edward Z. Yang wrote: Hello folks, it looks like the PHP 5.3 build on Windows is broken and ext/mysqlnd is to blame. Will investigate later. mysqlnd was fixed, however, spl's heap implementation is broken. Bug report and patch can be found here: http://bugs.php.net/bug.php?id=44288 -- Edward