Re: [PHP-DEV] [RFC] unset(): return bool if the variable has existed

2013-03-06 Thread Florin Razvan Patan
Hello, On Wed, Mar 6, 2013 at 11:31 PM, Bob Weinand bobw...@hotmail.com wrote: false. It's like unset($setValue) unset($undefined). I've clarified this in the RFC; thank you. Bob Weinand Am 06.03.2013 um 22:24 schrieb Steve Clay st...@mrclay.org: On 3/6/13 4:10 PM, Bob Weinand wrote:

Re: [PHP-DEV] [VOTE] Integrating Zend Optimizer+ into the PHP distribution

2013-02-28 Thread Florin Razvan Patan
On Thu, Feb 28, 2013 at 10:27 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 02/28/2013 11:34 AM, Anthony Ferrara wrote: Zeev, No syntax changes, so regular majority as far as I can tell. However, it does nuke several existing PECL extensions (some fatally). For example, XDebug has no

Re: [PHP-DEV] [VOTE] Integrating Zend Optimizer+ into the PHP distribution

2013-02-28 Thread Florin Razvan Patan
I've read all the e-mails so far and there are valid points from both parts but it seems there's a critical thing missing. What do PHP users want? I mean, what do sysadmins, programmers and managers want from PHP 5.5? Here's my personal opinion: I work in an enterprise so... I want

Re: [PHP-DEV] [VOTE] Integrating Zend Optimizer+ into the PHP distribution

2013-02-28 Thread Florin Razvan Patan
On Thu, Feb 28, 2013 at 11:37 PM, Levi Morrison morrison.l...@gmail.com wrote: A huge, out of the box, speed bump for production machines. For some applications PHP 5.4 was a huge speed bump out of the box . . . Would you run PHP against 10k+ req/s in production without opcode caching? On how

Re: [PHP-DEV] [VOTE] Integrating Zend Optimizer+ into the PHP distribution

2013-02-28 Thread Florin Razvan Patan
On Thu, Feb 28, 2013 at 11:47 PM, Anthony Ferrara ircmax...@gmail.com wrote: Florin Would you run PHP against 10k+ req/s in production without opcode caching? On how many machines without / with? I'm not sure about your stack, but every stack I've seen at that high of a load is built very

Re: [PHP-DEV] RFC Autoboxing Draft

2013-02-25 Thread Florin Razvan Patan
Hello, See the reply inline: On Mon, Feb 25, 2013 at 3:43 PM, Nils Andre nilsan...@gmail.com wrote: Hi Everyone on the list, I have no RFC Karma here so far, so I post this to the list at first. There has been ongoing discussion about new APIs and so fort, so this is a suggestion for language

Re: [PHP-DEV] PHP User Survey

2013-02-23 Thread Florin Razvan Patan
On Fri, Feb 22, 2013 at 8:40 PM, Florin Razvan Patan florinpa...@gmail.com wrote: On Thu, Feb 21, 2013 at 9:24 PM, Christopher Jones christopher.jo...@oracle.com wrote: 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

Re: [PHP-DEV] PHP User Survey

2013-02-22 Thread Florin Razvan Patan
On Thu, Feb 21, 2013 at 9:24 PM, Christopher Jones christopher.jo...@oracle.com wrote: 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

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 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] [RFC] Allow trailing comma in function call argument lists

2013-02-20 Thread Florin Razvan Patan
Hello, On Tue, Feb 19, 2013 at 2:06 PM, Sara Golemon poll...@php.net wrote: Opening RFC to allow trailing comma in function call argument lists https://wiki.php.net/rfc/trailing-comma-function-args As a person who deals with code reviews from many programmers each day, I'd have to say this

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

2013-02-20 Thread Florin Razvan Patan
Hello, On Wed, Feb 20, 2013 at 9:22 AM, Klaus Ufo klaus...@yahoo.fr wrote: 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 : - no more global functions I

Re: [PHP-DEV] Dropping requirement for `function` keyword for methods in classes/interfaces/etc

2013-02-20 Thread Florin Razvan Patan
Sandy, On Wed, Feb 20, 2013 at 11:59 AM, Sanford Whiteman swhitemanlistens-softw...@cypressintegrated.com wrote: Classes always should be declared with class keyword, because there could be ambiguity whether it's class, interface or trait. If only inner classes are allowed in a given PHP

Re: [PHP-DEV] PHP User Survey

2013-02-20 Thread Florin Razvan Patan
Hi Paul, On Wed, Feb 20, 2013 at 10:00 PM, Paul Reinheimer preinhei...@gmail.com wrote: Hi All, My apologies for the intrusion, I'll keep this brief. In many discussions over the past few months there has been talk about what the community at large needs. Pierre said just earlier today: I

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

2013-02-19 Thread Florin Razvan Patan
Hello, On Tue, Feb 19, 2013 at 2:57 PM, Marcello Duarte mdua...@inviqa.com wrote: Inspired by Sara, here is another RFC, I finally got around to draft: https://wiki.php.net/rfc/short-syntax-for-anonymous-function Please feedback, -- Marcello Duarte I really don't like syntax for this. It

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

2013-02-19 Thread Florin Razvan Patan
Hello, On Tue, Feb 19, 2013 at 6:09 PM, Levi Morrison morrison.l...@gmail.com wrote: There's already been an overwhelming negative reaction to this particular proposed syntax so I won't belabor the point much. In short, this is too similar to block statements and does have BC issues. --

Re: [PHP-DEV] [RFC] Integrating Zend Optimizer+ into the PHP distribution

2013-01-29 Thread Florin Razvan Patan
Thank you for this great initiative! As a user, I could definitely wait for 2-3 more months and get a good implementation/integration of this rather that have to wait for at least one year. I think it would also be nice if this could come as default enabled since this way people would be able to

Re: [PHP-DEV] Voting periods

2013-01-28 Thread Florin Razvan Patan
To Zeev and the rest of internals, I know this will be a long e-mail but I'm not a guy who goes to conferences (I don't have money for that), I've been into seven companies until now, each with various use cases for PHP and I'm trying to contribute to some open source projects from PHP scene.

Re: [PHP-DEV] HEADS UP: Upcoming Feature Freeze for PHP 5.5.0

2013-01-26 Thread Florin Razvan Patan
Hello, I'm not sure if it could be considered as a feature but what about these RFCs: https://wiki.php.net/rfc/error-optimizations https://wiki.php.net/rfc/grisu3-strtod Some of them have been opened for some time now. Also, wouldn't a cleanup of the current RFC listed for PHP help out in the

Re: [PHP-DEV] I think that Function naming inconsistency bug deservers more attention

2013-01-26 Thread Florin Razvan Patan
Hi, Everyone here forgets that there's a little certification run by some guys named Zend that factor in some of these things as well. That's the point of not having consistency? Checking if some have better memory that others? Also, I suppose that everyone can afford to look up things on the

Re: [PHP-DEV] PHP is not ...

2013-01-11 Thread Florin Razvan Patan
Hi Arvids, This is exactly what I've stated yesterday here, you can read it at http://news.php.net/php.internals/64820 but I've yet to receive an answer for it. The problem is that someone will actually need to implement the whole thing again, in C, again, and it's going to be painful (again).

Re: [PHP-DEV] Re: Was Reflection annotations reader - We Need A Vision

2013-01-10 Thread Florin Razvan Patan
This could be very well be off-topic but I think it is something that someone has to say it at some point. Don't worry, there's a vision in there, near the end of this, please just have the patience of reading this as a part rant, part wish :) You all speak about new things, better userland

[PHP-DEV] [RFC] Implement a LoggerInterface to PHP

2012-11-08 Thread Florin Razvan Patan
Hello, After a talk on the Symfony framework here: https://github.com/symfony/symfony/issues/5911 Long story short, the point that @Seldaek suggestion to have a common interface for loggers actually makes sense and the best way to have it would be to have PHP include it by default. I'm not sure