Re: [PHP-DEV] Pull request for array_filter() improvement

2013-02-21 Thread Sebastian Krebs
2013/2/21 Tjerk Anne Meesters datib...@php.net Hi, I found myself wanting a feature of array_filter() with which I can perform filtering based on the array key instead of the value. To scratch this itch, I decided to dive into C again and just add the feature. My proposal is to add a third

Re: [PHP-DEV] Pull request for array_filter() improvement

2013-02-21 Thread Tjerk Anne Meesters
Hi Sebastian, I would be fine with that too, but this might break existing code that uses internal functions which behave differently when a second argument is passed. One might also make the argument that creating an additional ZVAL that's never used in a callback is a waste of cpu. I'm not

Re: [PHP-DEV] [RFC] send/recvmsg() wrappers in ext/socket

2013-02-21 Thread Gustavo Lopes
Em 2013-02-21 4:06, Ferenc Kovacs escreveu: On Tue, Jan 22, 2013 at 6:23 PM, Gustavo Lopes glo...@nebm.ist.utl.ptwrote: https://wiki.php.net/rfc/**sendrecvmsghttps://wiki.php.net/rfc/sendrecvmsg The module ext/sockets, a wrapper around the sockets API, does not include support to recvmsg()

Re: [PHP-DEV] Pull request for array_filter() improvement

2013-02-21 Thread Leigh
On 21 February 2013 07:08, Tjerk Anne Meesters datib...@php.net wrote: Hi, I found myself wanting a feature of array_filter() with which I can perform filtering based on the array key instead of the value. With the operative word here being *instead*, keeping in line with the numerous other

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Eloy Bote Falcon
2013/2/20 Derick Rethans der...@php.net: Looks like it is time to forward this email from 2006 again: -- Forwarded message -- Date: Thu, 09 Mar 2006 12:57:32 +0200 From: Zeev Suraski z...@zend.com To: internals@lists.php.net Subject: [PHP-DEV] Give the Language a Rest motion

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Pierre Joye
hi, On Thu, Feb 21, 2013 at 10:45 AM, Eloy Bote Falcon eloyb...@gmail.com wrote: Agree. There are only a few core devs working daily in the PHP internals. I would say please give the Language (and devs) a rest motion, because there are a lot of bugs and work to be done but I'm afraid that is

RE: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Zeev Suraski
What you're bringing up is not at all about adapting. Adapting is something we do at the extensions, frameworks and tools levels. I'm happy to say PHP's ecosystem here is very healthy, in my opinion. Adapting is not what we're dealing with here. We're talking about Adding. By adding more and

Re: [PHP-DEV] Pull request for array_filter() improvement

2013-02-21 Thread Tjerk Anne Meesters
On Thu, Feb 21, 2013 at 5:31 PM, Leigh lei...@gmail.com wrote: On 21 February 2013 07:08, Tjerk Anne Meesters datib...@php.net wrote: Hi, I found myself wanting a feature of array_filter() with which I can perform filtering based on the array key instead of the value. With the

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Pierre Joye
hi Zeev, On Thu, Feb 21, 2013 at 10:56 AM, Zeev Suraski z...@zend.com wrote: What you're bringing up is not at all about adapting. Adapting is something we do at the extensions, frameworks and tools levels. I'm happy to say PHP's ecosystem here is very healthy, in my opinion. Yes, most of

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Lester Caine
Zeev Suraski wrote: There used to be a language that was the Queen of the Web. It was full of clever syntax. It prided itself on having a variety of expressive ways of doing the same thing. You're on the mailing list of the language that dethroned it. And the majority of END USERS are more

Re: [PHP-DEV] PHP User Survey

2013-02-21 Thread Florian Anderiasch
On 02/21/2013 08:14 AM, Pierre Joye wrote: I do not have a single doubt. Why? Surveys are one of many ways to get feedback. They have no contracting values but give us some numbers about one rfc or another. That may help us to focus on one feature instead of another if we see a large number

Re: [PHP-DEV] [RFC] Short syntax for anonymous functions

2013-02-21 Thread David Muir
On 21/02/2013, at 6:12 AM, Lazare Inepologlou linep...@gmail.com wrote: 2013/2/20 Sanford Whiteman swhitemanlistens-softw...@cypressintegrated.com It still looks like some random characters bashed together by a monkey with a keyboard. +1, I am a fiend for ternary expressions and crazy

RE: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Zeev Suraski
Pierre, People who think differently from you are not necessarily blind of stubborn. I honestly think that those comments were completely out of line in several different ways. Regarding 'voting with feet', it's an idiom, look it up. Zeev -Original Message- From: Pierre Joye

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Terry Ellison
Here is a counterpoint to that expressed by Lars. Many if not most shared hosting providers don't offer PHP 5.4 yet. Ditto many enterprises have yet to adopt it. The main reason? I think its that old Backwards Compatibility issue that has been discussed heavily on this DL. When major

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Nikita Popov
On Wed, Feb 20, 2013 at 7:18 PM, Derick Rethans der...@php.net wrote: Once you're done thinking, decide for yourself. Does it make sense to be discussing new language level features every other week? Or should we, perhaps, invest more in other fronts, which would be beneficial for a far

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Pierre Joye
Zeev, On Thu, Feb 21, 2013 at 12:24 PM, Zeev Suraski z...@zend.com wrote: Pierre, People who think differently from you are not necessarily blind of stubborn. I honestly think that those comments were completely out of line in several different ways. It is not my opinion but a simple fact.

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Lester Caine
Pierre Joye wrote: Regarding 'voting with feet', it's an idiom, look it up. I know, still do not think it fits as comment either here. I read this as simply People are not leaving PHP in droves simply because it does not have xxx - actually the opposite, but that growth in use is not into

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Florin Razvan Patan
Hello, This might sound as a rant but I assure you it's not. It's just how I see the things from my perspective and that of my colleagues/employer. On Thu, Feb 21, 2013 at 11:56 AM, Zeev Suraski z...@zend.com wrote: What you're bringing up is not at all about adapting. Adapting is something

RE: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Zeev Suraski
People who think differently from you are not necessarily blind of stubborn. I honestly think that those comments were completely out of line in several different ways. It is not my opinion but a simple fact. That comment would have been funny if it wasn't sad. I'll leave it at that.

[PHP-DEV] Re: [PHP-CVS] com php-src: Fixed external entity loading: ext/libxml/libxml.c ext/libxml/php_libxml.h ext/soap/php_xml.c

2013-02-21 Thread Remi Collet
It seems ZTS bulid is broken /builddir/build/BUILD/php5.5-201302211230/ext/soap/php_xml.c: In function 'soap_xmlParseFile': /builddir/build/BUILD/php5.5-201302211230/ext/soap/php_xml.c:103:3: error: too few arguments to function 'php_libxml_disable_entity_loader' In file included from

RE: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Zeev Suraski
-Original Message- From: Florin Razvan Patan [mailto:florinpa...@gmail.com] Sent: Thursday, February 21, 2013 3:15 PM To: Zeev Suraski Cc: Lars Strojny; Derick Rethans; PHP Developers Mailing List Subject: Re: [PHP-DEV] Give the Language a Rest motion (fwd) On Thu, Feb 21, 2013 at

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Pierre Joye
hi, On Thu, Feb 21, 2013 at 2:59 PM, Zeev Suraski z...@zend.com wrote: That's not adaptation in my book. That's addition. It's not the technology landscape that changed that now you need annotations; It's that some people consider this feature cool and useful, and want to import it into

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Fixed external entity loading: ext/libxml/libxml.c ext/libxml/php_libxml.h ext/soap/php_xml.c

2013-02-21 Thread Johannes Schlüter
On Thu, 2013-02-21 at 14:37 +0100, Remi Collet wrote: It seems ZTS bulid is broken Fixed in fcd4b53 (and merge commits) johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Zeev Suraski
-Original Message- From: Pierre Joye [mailto:pierre@gmail.com] Sent: Thursday, February 21, 2013 4:08 PM To: Zeev Suraski Cc: Florin Razvan Patan; Lars Strojny; Derick Rethans; PHP Developers Mailing List Subject: Re: [PHP-DEV] Give the Language a Rest motion (fwd) hi, On

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Michael Shadle
On Feb 21, 2013, at 1:56 AM, Zeev Suraski z...@zend.com wrote: There used to be a language that was the Queen of the Web. It was full of clever syntax. It prided itself on having a variety of expressive ways of doing the same thing. You're on the mailing list of the language that

Re: [PHP-DEV] [RFC] Short syntax for anonymous functions

2013-02-21 Thread Levi Morrison
On Thu, Feb 21, 2013 at 4:17 AM, David Muir davidkm...@gmail.com wrote: On 21/02/2013, at 6:12 AM, Lazare Inepologlou linep...@gmail.com wrote: 2013/2/20 Sanford Whiteman swhitemanlistens-softw...@cypressintegrated.com It still looks like some random characters bashed together by a monkey

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Rasmus Lerdorf
In the slice of the community where I spend most of my time, medium-to-large companies using PHP with their own custom code on hundreds to thousands or even 10's of thousands of servers, neither annotations nor getter/setter are anywhere on their wishlist radar. What they most desire is

Re: [PHP-DEV] [RFC] Short syntax for anonymous functions

2013-02-21 Thread Lazare Inepologlou
2013/2/21 Levi Morrison morrison.l...@gmail.com On Thu, Feb 21, 2013 at 4:17 AM, David Muir davidkm...@gmail.com wrote: On 21/02/2013, at 6:12 AM, Lazare Inepologlou linep...@gmail.com wrote: 2013/2/20 Sanford Whiteman swhitemanlistens-softw...@cypressintegrated.com It still looks

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Arvids Godjuks
Hello, didn't read the whole thread, just a few messages at the start. But because I'm replying to the starting message, it's not relevant :) In principle, as a user-land developer, I agree with the motion. It's too much fancy new shiny stuff lately and no actual improvement on the old stuff that

[PHP-DEV] Re: VCS Account Request: gabrielwu84

2013-02-21 Thread PHP Group
VCS Account Approved: gabrielwu84 approved by rasmus \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Marco Pivetta
On 21 February 2013 16:30, Rasmus Lerdorf ras...@lerdorf.com wrote: In the slice of the community where I spend most of my time No hard feelings, but it would be awesome if that part of the community (the one that basically avoids social coding as far as I can see, not to be taken as a sin,

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Johannes Schlüter
On Thu, 2013-02-21 at 16:54 +0100, Marco Pivetta wrote: No hard feelings, but it would be awesome if that part of the community (the one that basically avoids social coding as far as I can see, not to be taken as a sin, but still meh) didn't just try to hold back PHP because of business

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Marco Pivetta
On 21 February 2013 17:04, Johannes Schlüter johan...@schlueters.de wrote: The quoted business decision was We want something stable and fast, an emphasis of fixing bugs over adding new ones. This sounds sane to me. johannes Doesn't exclude new features then: so what is this all about?

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Levi Morrison
Personally I would love to see more RFCs focusing on performance and less on syntax changes. Some recent tests I performed indicate that JavaScript and Dart are both significantly faster than PHP when working with just arrays and numbers. If anyone is interested I can provide the test code for

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Florin Razvan Patan
Hello, On Thu, Feb 21, 2013 at 5:30 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: In the slice of the community where I spend most of my time, medium-to-large companies using PHP with their own custom code on hundreds to thousands or even 10's of thousands of servers, neither annotations nor

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Alexey Zakhlestin
On 21.02.2013, at 20:08, Levi Morrison morrison.l...@gmail.com wrote: Personally I would love to see more RFCs focusing on performance and less on syntax changes. Some recent tests I performed indicate that JavaScript and Dart are both significantly faster than PHP when working with just

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread David Soria Parra
On 2013-02-21, Rasmus Lerdorf ras...@lerdorf.com wrote: Personally I would love to see more RFCs focusing on performance and less on syntax changes. Of course, a syntax change RFC, and even the initial (often shaky) implementation of a syntax-related change is much much easier to whip up than

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Ferenc Kovacs
replying inline I think it would be helpful to have something like a roadmap with various features and changes both in regards to language and features as well as performance. We have discussed before and the problem is the nature of the project: it is an open source project where the

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Pascal Chevrel
Le 21/02/2013 18:56, Ferenc Kovacs a écrit : it is, and it is a chicken and egg problem: even though that the usual my C-fu is weak argument doesn't apply there, we still lack contributors, and the archaic nature of the current codebase doesn't really helps bringing in new people. even if a

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Michael Shadle
On Thu, Feb 21, 2013 at 10:13 AM, Pascal Chevrel pascal.chev...@free.fr wrote: I am specifically thinking of Bugzilla which is already used by many open source projects. It has a lot more features than your current bug tracking system, it scales for large projects and it has a few Mozilla

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Johannes Schlüter
On Thu, 2013-02-21 at 19:13 +0100, Pascal Chevrel wrote: I am specifically thinking of Bugzilla which is already used by many open source projects. It has a lot more features than your current bug tracking system, it scales for large projects and it has a few Mozilla employees working

Re: [PHP-DEV] PHP User Survey

2013-02-21 Thread Christopher Jones
On 02/21/2013 03:02 AM, Florian Anderiasch wrote: On 02/21/2013 08:14 AM, Pierre Joye wrote: I do not have a single doubt. Why? Surveys are one of many ways to get feedback. They have no contracting values but give us some numbers about one rfc or another. That may help us to focus on one

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Lester Caine
Arvids Godjuks wrote: In principle, as a user-land developer, I agree with the motion. It's too much fancy new shiny stuff lately and no actual improvement on the old stuff that really needs fixing or updating/rewriting (PDO anyone? Years behind every db driver extension there is in PHP, and as

Re: [PHP-DEV] PHP 6 : a new API ?

2013-02-21 Thread André Rømcke
On Feb 20, 2013, at 11:19 , Sebastian Krebs krebs@gmail.com wrote: 2013/2/20 Klaus Ufo klaus...@yahoo.fr Hi there ! We all know that the current PHP API has flaws. Maybe we could use namespaces to build a new coherent PHP API ? Like : - \arr - \num - \str and so on. Advantages

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Johannes Schlüter
On Thu, 2013-02-21 at 17:06 +0100, Marco Pivetta wrote: On 21 February 2013 17:04, Johannes Schlüter johan...@schlueters.de wrote: The quoted business decision was We want something stable and fast, an emphasis of fixing bugs over adding new ones. This sounds sane to me. Doesn't exclude

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Rasmus Lerdorf
On 02/21/2013 01:04 PM, Johannes Schlüter wrote: On Thu, 2013-02-21 at 17:06 +0100, Marco Pivetta wrote: On 21 February 2013 17:04, Johannes Schlüter johan...@schlueters.de wrote: The quoted business decision was We want something stable and fast, an emphasis of fixing bugs over adding new

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Crypto Compress
Hello List, how about sort of Tick-Tock development model? Tick = optimize/bugfix Tock = shiny new features e.g. http://en.wikipedia.org/wiki/Intel_Tick-Tock cryptocompress -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] APC 3.1.14 disappeared from PECL

2013-02-21 Thread Jan Ehrhardt
Ferenc Kovacs in php.internals (Mon, 4 Feb 2013 09:47:11 +0100): It was done by Rasmus on purpose, as there were memory issues with this release what we couldn't track down/fix yet. Should not these be removed or replaced as well? http://windows.php.net/downloads/pecl/snaps/apc/3.1.14-dev/ And

Re: [PHP-DEV] PHP causing high number of NFS getattr operations?

2013-02-21 Thread Brendon Colby
On Mon, Feb 18, 2013 at 3:35 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: Wow, people are still serving web files over NFS? Sounds painful. On Mon, Feb 18, 2013 at 9:32 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: So they are serving up all their PHP over NFS for some reason. I've been

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Stas Malyshev
Hi! F.e., how long have we been battled for annotations? With all respects, it is about being blind and stubborn to say that PHP should not have annotations. But due to some I'm happy with what we have It is about being blind and stubborn to hold opinion different than yours. And *this* not

Re: [PHP-DEV] PHP causing high number of NFS getattr operations?

2013-02-21 Thread Rasmus Lerdorf
On 02/21/2013 03:15 PM, Brendon Colby wrote: NFS is so common for sharing files that saying Wow, people are still serving web files over NFS? is like saying Wow, people are still using the ls command to list directory contents on Linux? I think NFS is still very widely used, even for sharing

Re: [PHP-DEV] PHP causing high number of NFS getattr operations?

2013-02-21 Thread daniel
Quoting Brendon Colby bren...@newgrounds.com: We've invested a great deal of money in a high performance shared storage system, so of course we want to use this system for absolutely everything we can within reason, including sharing 1500+ PHP files to our many web servers. I don't think most

Re: [PHP-DEV] PHP causing high number of NFS getattr operations?

2013-02-21 Thread daniel
Quoting dan...@zoltak.com: Great points Brendon! We have a similar architectural to your setup running NetApp filers, Apache/PHP web servers performing shared hosting for over 40,000+ websites. We pull over 35k IOPS and 80% are from PHP stats and getattr's. Someone earlier mentioned

Re: [PHP-DEV] PHP causing high number of NFS getattr operations?

2013-02-21 Thread Terry Ellison
On 21/02/13 23:38, Rasmus Lerdorf wrote: On 02/21/2013 03:15 PM, Brendon Colby wrote: NFS is so common for sharing files that saying Wow, people are still serving web files over NFS? is like saying Wow, people are still using the ls command to list directory contents on Linux? I think NFS is

Re: [PHP-DEV] PHP causing high number of NFS getattr operations?

2013-02-21 Thread Rasmus Lerdorf
On 02/21/2013 04:41 PM, Terry Ellison wrote: On 21/02/13 23:38, Rasmus Lerdorf wrote: On 02/21/2013 03:15 PM, Brendon Colby wrote: NFS is so common for sharing files that saying Wow, people are still serving web files over NFS? is like saying Wow, people are still using the ls command to

Re: [PHP-DEV] Give the Language a Rest motion (fwd)

2013-02-21 Thread Martin Keckeis
2013/2/21 Johannes Schlüter johan...@schlueters.de On Thu, 2013-02-21 at 19:13 +0100, Pascal Chevrel wrote: I am specifically thinking of Bugzilla which is already used by many open source projects. It has a lot more features than your current bug tracking system, it scales for large