Re: [PHP-DEV] [PATCH] Delegate type hint/checks to alternative locations (Re: [PHP-DEV] back to 5.4 alpha)

2010-11-01 Thread Felipe Pena
Hi, 2010/10/19 Derick Rethans der...@php.net Hi! On Sun, 5 Sep 2010, Derick Rethans wrote: I've spend some more time on this, and have attached a new patch that: - Removes the strict type verification, changing it back into typehints only. - Keeps the current syntax so that

Re: [PHP-DEV] [PATCH] Delegate type hint/checks to alternative locations (Re: [PHP-DEV] back to 5.4 alpha)

2010-10-19 Thread Derick Rethans
Hi! On Sun, 5 Sep 2010, Derick Rethans wrote: I've spend some more time on this, and have attached a new patch that: - Removes the strict type verification, changing it back into typehints only. - Keeps the current syntax so that typehints create structures in the function entries.

Re: [PHP-DEV] [PATCH] Delegate type hint/checks to alternative locations (Re: [PHP-DEV] back to 5.4 alpha)

2010-09-08 Thread Dmitry Stogov
Hi Derick, We had a long discussion on RFC and hear you can see the summary of my opinion: I think removing the strict type hinting (reverting semantic back to 5.3), but keeping the new syntax and reflection API is a good decision. However I definitely against of delegation of type-hinting

Re: [PHP-DEV] [PATCH] Delegate type hint/checks to alternative locations (Re: [PHP-DEV] back to 5.4 alpha)

2010-09-08 Thread Stas Malyshev
Hi! I would suggest to go forward with this decision partially (without callback and without zval** instead of zval*) Actually, if we have the information in the data structures, wouldn't it be pretty easy for xdebug (or any other extension), while intercepting function entrance (which

[PHP-DEV] [PATCH] Delegate type hint/checks to alternative locations (Re: [PHP-DEV] back to 5.4 alpha)

2010-09-05 Thread Derick Rethans
On Wed, 11 Aug 2010, Derick Rethans wrote: On Wed, 11 Aug 2010, Stas Malyshev wrote: So I'd propose doing the following: 1. Moving parameter typing to a feature branch (by branching current trunk and then rolling back the typing part in the trunk). 2. Starting 5.4 alpha process

Re: [PHP-DEV] back to 5.4 alpha

2010-08-20 Thread Wim Godden
Sebastian Bergmann wrote: Am 15.08.2010 15:42, schrieb Wim Godden: Looking forward to any feedback ! Have you looked at http://github.com/troelskn/php-tracer-weaver? It is similar to what you are doing (though not integrated with PHPUnit). First time I came across this. But

Re: [PHP-DEV] back to 5.4 alpha

2010-08-18 Thread Sebastian Bergmann
Am 15.08.2010 15:42, schrieb Wim Godden: Looking forward to any feedback ! Have you looked at http://github.com/troelskn/php-tracer-weaver? It is similar to what you are doing (though not integrated with PHPUnit). -- Sebastian BergmannCo-Founder and Principal Consultant

Re: [PHP-DEV] back to 5.4 alpha

2010-08-15 Thread Wim Godden
Sebastian Bergmann wrote: Am 12.08.2010 10:31, schrieb Derick Rethans: Well, PHP wouldn't support it directly. But it would allow a zend extension like Xdebug to provide a strict validation function while debugging and development. Very similar to the overloaded zend_error_cb and var_dump()

Re: [PHP-DEV] back to 5.4 alpha

2010-08-12 Thread Stas Malyshev
Hi! 1. What's missing and should be added? First thing perhaps ... which IS Pierre's problem ... Windows snapshots But short of trawling the commit tree ... what HAS already been added? ( links to the CURRENT release notes from the windows site are broken by the way ) We have NEWS for

Re: [PHP-DEV] back to 5.4 alpha

2010-08-12 Thread Lester Caine
Stas Malyshev wrote: 1. What's missing and should be added? First thing perhaps ... which IS Pierre's problem ... Windows snapshots But short of trawling the commit tree ... what HAS already been added? ( links to the CURRENT release notes from the windows site are broken by the way ) We

Re: [PHP-DEV] back to 5.4 alpha

2010-08-12 Thread Alexey Zakhlestin
On Thu, Aug 12, 2010 at 10:59 AM, Lester Caine les...@lsces.co.uk wrote: Stas Malyshev wrote: 1. What's missing and should be added? First thing perhaps ... which IS Pierre's problem ... Windows snapshots But short of trawling the commit tree ... what HAS already been added? ( links to the

Re: [PHP-DEV] back to 5.4 alpha

2010-08-12 Thread Derick Rethans
(after clarification on what Zeev meant, there was a bit of a follow up that I'm posting as reply): On Wed, 11 Aug 2010, Zeev Suraski wrote: How is it different from having both options? Given enough time isn't it exactly the same thing? Argument verification should not be a customizable

Re: [PHP-DEV] back to 5.4 alpha

2010-08-12 Thread Lester Caine
Alexey Zakhlestin wrote: But the main point was ... where is the NEWS for all the features added to trunk? We need the alpha to create the news to decide what needs changing before releasing. http://svn.php.net/viewvc/php/php-src/trunk/NEWS?view=markup Simple example of the problem with

Re: [PHP-DEV] back to 5.4 alpha

2010-08-12 Thread Sebastian Bergmann
Am 12.08.2010 10:31, schrieb Derick Rethans: Well, PHP wouldn't support it directly. But it would allow a zend extension like Xdebug to provide a strict validation function while debugging and development. Very similar to the overloaded zend_error_cb and var_dump() function. During

Re: [PHP-DEV] back to 5.4 alpha

2010-08-12 Thread Sebastian Bergmann
Am 11.08.2010 20:30, schrieb Stas Malyshev: What do you think? +1 :-) -- Sebastian BergmannCo-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/ -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] back to 5.4 alpha

2010-08-12 Thread Lukas Kahwe Smith
On 12.08.2010, at 00:39, Pierre Joye wrote: On Thu, Aug 12, 2010 at 12:27 AM, Ilia Alshanetsky i...@prohost.org wrote: Pierre, With all due respect, there are plenty of things already in trunk to make it a worth while effort to start planning the 5.4 release. Just because you disagree, an

[PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Stas Malyshev
Hi! I think by now, whatever you think on strict typing/typehints, it is clear to everybody that there's no consensus about this feature, and with Rasmus, Zeev Andi, along with many others, being against it, as of now it can not be a part of an official PHP release. On the other hand, we

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Kalle Sommer Nielsen
Hi 2010/8/11 Stas Malyshev smalys...@sugarcrm.com: So I'd propose doing the following: 1. Moving parameter typing to a feature branch (by branching current trunk and then rolling back the typing part in the trunk). 2. Starting 5.4 alpha process after that basing on trunk. Any objections to

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Derick Rethans
On Wed, 11 Aug 2010, Stas Malyshev wrote: So I'd propose doing the following: 1. Moving parameter typing to a feature branch (by branching current trunk and then rolling back the typing part in the trunk). 2. Starting 5.4 alpha process after that basing on trunk. Any objections to this?

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Ilia Alshanetsky
+1, I think that's the most sensible solution for now that would allow us to proceed with 5.4, something we all seem to be in agreement on. On Wed, Aug 11, 2010 at 2:30 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! I think by now, whatever you think on strict typing/typehints, it is

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread la...@garfieldtech.com
On 8/11/10 1:30 PM, Stas Malyshev wrote: Hi! I think by now, whatever you think on strict typing/typehints, it is clear to everybody that there's no consensus about this feature, and with Rasmus, Zeev Andi, along with many others, being against it, as of now it can not be a part of an official

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Adam Richardson
On Wed, Aug 11, 2010 at 2:30 PM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! I think by now, whatever you think on strict typing/typehints, it is clear to everybody that there's no consensus about this feature, and with Rasmus, Zeev Andi, along with many others, being against it, as of

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Lester Caine
Ilia Alshanetsky wrote: +1, I think that's the most sensible solution for now that would allow us to proceed with 5.4, something we all seem to be in agreement on. A slight aside here, as I have not be bothering about what HAS been implemented typing wise ... A large section of the code a

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Zeev Suraski
At 21:30 11/08/2010, Stas Malyshev wrote: Hi! I think by now, whatever you think on strict typing/typehints, it is clear to everybody that there's no consensus about this feature, and with Rasmus, Zeev Andi, along with many others, being against it, as of now it can not be a part of an

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Alexey Zakhlestin
On Wed, Aug 11, 2010 at 11:41 PM, Lester Caine les...@lsces.co.uk wrote: Ilia Alshanetsky wrote: +1, I think that's the most sensible solution for now that would allow us to proceed with 5.4, something we all seem to be in agreement on. A slight aside here, as I have not be bothering about

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Zeev Suraski
At 22:50 11/08/2010, Alexey Zakhlestin wrote: On Wed, Aug 11, 2010 at 11:41 PM, Lester Caine les...@lsces.co.uk wrote: Ilia Alshanetsky wrote: +1, I think that's the most sensible solution for now that would allow us to proceed with 5.4, something we all seem to be in agreement on. A

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Alexey Zakhlestin
On Thu, Aug 12, 2010 at 12:01 AM, Zeev Suraski z...@zend.com wrote: At 22:50 11/08/2010, Alexey Zakhlestin wrote: On Wed, Aug 11, 2010 at 11:41 PM, Lester Caine les...@lsces.co.uk wrote: Ilia Alshanetsky wrote: +1, I think that's the most sensible solution for now that would allow us to

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Zeev Suraski
You're absolutely right, sorry about that! Zeev At 23:11 11/08/2010, Alexey Zakhlestin wrote: You misunderstood my comment. Lester asked if he can still have his APIs without type-hinting and I told him that he can. That's all We're not talking about complexities of understanding -- Alexey

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Lester Caine
Zeev Suraski wrote: You're absolutely right, sorry about that! Zeev However if this is something controlled by php setup, it becomes another 'register_global'. If my users have to have it off for my projects and on for others ... complexity in managing instead :( At 23:11 11/08/2010,

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Pierre Joye
On Wed, Aug 11, 2010 at 8:30 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! I think by now, whatever you think on strict typing/typehints, it is clear to everybody that there's no consensus about this feature, and with Rasmus, Zeev Andi, along with many others, being against it, as of

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Johannes Schlüter
On Wed, 2010-08-11 at 23:34 +0200, Pierre Joye wrote: - What are the top new things we like to have in I would say * Traits * Aray dereferencing * $this support inclosures As language changes, in combination with performance improvements make a good package. This combined

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Stas Malyshev
Hi! I think using trunk as base is a mistake. We should begin using a stable branch (5.3) and merge what we want for the next release. It is also too early to begin to think about 5.4 as there is still a couple of things to clarify before. The most important ones being: Why have trunk then?

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Pierre Joye
On Thu, Aug 12, 2010 at 12:14 AM, Stas Malyshev smalys...@sugarcrm.com wrote: It'd be alpha, you have enough time. Is it really the new way to do things in php.net? Totally ignore other developers, discuss things privately, act like the last of the last and drop a mail to officially announce a

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Ilia Alshanetsky
Pierre, With all due respect, there are plenty of things already in trunk to make it a worth while effort to start planning the 5.4 release. Just because you disagree, an opinion you are entitled to (like everyone else), does not mean it is a no go, last I checked no one had veto powers on the

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Stas Malyshev
Hi! I'm totally against an alpha at this stage. Not before we have clarified all we need to get a clean release. OK, so what do you propose to do? I.e., if you think there are things to be discussed, set the agenda. I think that besides typing, trunk is ok for alpha, you obvious don't think

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Ferenc Kovacs
On Thu, Aug 12, 2010 at 12:27 AM, Ilia Alshanetsky i...@prohost.org wrote: Pierre, With all due respect, there are plenty of things already in trunk to make it a worth while effort to start planning the 5.4 release. Just because you disagree, an opinion you are entitled to (like everyone

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Pierre Joye
On Thu, Aug 12, 2010 at 12:27 AM, Ilia Alshanetsky i...@prohost.org wrote: Pierre, With all due respect, there are plenty of things already in trunk to make it a worth while effort to start planning the 5.4 release. Just because you disagree, an opinion you are entitled to (like everyone

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Alexey Zakhlestin
On Thu, Aug 12, 2010 at 12:28 AM, Lester Caine les...@lsces.co.uk wrote: Zeev Suraski wrote: You're absolutely right, sorry about that! Zeev However if this is something controlled by php setup, it becomes another 'register_global'. If my users have to have it off for my projects and on

Re: [PHP-DEV] back to 5.4 alpha

2010-08-11 Thread Lester Caine
Stas Malyshev wrote: I'm totally against an alpha at this stage. Not before we have clarified all we need to get a clean release. OK, so what do you propose to do? I.e., if you think there are things to be discussed, set the agenda. I think that besides typing, trunk is ok for alpha, you