Re: [PHP-DEV] Re: Flexible type hinting

2009-07-03 Thread Rodrigo Saboya
Paul sent his proposal, but I rejected the idea myself for the confusion it might cause because I couln't think of a good syntax. This one actually looks pretty good, it's intuitive and consistent with what the language offers now. Big +1 regards Rodrigo Saboya -- PHP Internals -

[PHP-DEV] Re: RFC: Type hinting revisited for PHP 5.3

2009-07-01 Thread Rodrigo Saboya
n php when comparing to other languages (amongst other thinkgs) and I do think they would be fantastic, I think HEAD is more suited for thoses changes rather than 5.3 branch. (But I must confess I loved LSB and Closures in 5.3 :) ) Regards Rodrigo Saboya -- PHP Internals - PHP Runtime Developme

[PHP-DEV] Re: PHP 5.3.0 Released!

2009-06-30 Thread Rodrigo Saboya
Downloads:http://php.net/downloads.php#v5.3.0 Changelog:http://www.php.net/ChangeLog-5.php#5.3.0 regards, Johannes and Lukas Great news :) But I think the changelog link is broken =P Regards Rodrigo Saboya -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] [RFC] APC/PHP Lazy Loading

2009-02-26 Thread Rodrigo Saboya
Ronald Chmara wrote: On Feb 21, 2009, at 10:55 PM, shire wrote: Hi Ronald, Ronald Chmara wrote: Wait... so if I understand this right, let's envision a code base where, per some random page load, 70 functions are actually called, but, oh, 7,000, or even 700,000, are being included for whatever

Re: [PHP-DEV] Problem with (namespaced) code extending ReflectionProperty - possible bug?

2008-12-08 Thread Rodrigo Saboya
7;t think having a Object class built in is such a big issue with namespaces around. Anyone using object type-hinting should have a clue. -- Rodrigo Saboya -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: PHP 5.3.0alpha3

2008-12-08 Thread Rodrigo Saboya
already: http://php.net/namespace regards, Johannes and Lukas All links at http://windows.php.net/qa/ are 404. -- Rodrigo Saboya -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] namespace separator and whining

2008-11-04 Thread Rodrigo Saboya
amework developers, because they'll prefix their classes anyway. But I think it's dangerous and will cause unexpected behavior for the average user. This was discussed before, I'm with Stas: Global classes cannot be overriden unless explicitly prefixed. -- Rodrigo Saboya -- PHP I

Re: [PHP-DEV] namespace separator and whining

2008-10-27 Thread Rodrigo Saboya
ations for identifying and addressing the issues with namespaces before the release. Changing the separator was a hard but wise decision. There's no perfect choice but it was best of all IMO. -- Rodrigo Saboya -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: htt

Re: [PHP-DEV] json_encode ignores protected/private class members

2008-10-09 Thread Rodrigo Saboya
something it's not supposed to do. -- Rodrigo Saboya -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Suggestion to increase the max_input_nesting_level

2008-09-10 Thread Rodrigo Saboya
ts is not something people (should) do. And anyone using xdebug is probably smart enough to change a .ini setting to avoid what you are suggesting. Just add an entry to your FAQ / Manual about it. -- Rodrigo Saboya -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-11 Thread Rodrigo Saboya
u can do pretty much anything namespace-wise. But if PHP is sticking to the prior, { } just looks wrong to me. -- Rodrigo Saboya -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Modify language grammar to allow trailing commas in function/method calls

2008-07-22 Thread Rodrigo Saboya
ions ); I really don't see a great benefit here, and as you pointed out it would make code written with trailing commas incompatible with previous versions of PHP. -- Rodrigo Saboya -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: towards a 5.3 release

2008-07-17 Thread Rodrigo Saboya
ed by some massive obscure autoload look-up and might get the wrong idea that "PHP is slow" if he doesn't profile his code correctly. Just my 2 cents. -- Rodrigo Saboya -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] [RFC] Closures and lambda functions in PHP

2008-06-20 Thread Rodrigo Saboya
exicals to be passed by value doesn't make much sense, you could just use a regular parameter for that. And that would bring another inconsistency to PHP, and would mean that PHP is discouraging the use of $_GLOBALS, that was created to discourage to use of 'global $var'. --

Re: [PHP-DEV] [PATCH] [RFC] Closures and lambda functions in PHP

2008-06-19 Thread Rodrigo Saboya
with this syntax, I don't like it. FWIW, I'd like to see this on 5.3. regards Rodrigo Saboya I like "|" separator more, but the syntax of definition is not so important for me. It just must be clean, and the "lexical" keyword doesn't provide clean definition.

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-06-02 Thread Rodrigo Saboya
the newcomers, I consider this syntax very natural and it doesn't break backwards compatibility as it doesn't replaces the old syntax, simply adds a new one. I'll be contributing with my input as userland developer from now on if it seems fit. regards Rodrigo Saboya Seb