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 -
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
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
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
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
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
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
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
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
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:
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
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
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
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'.
--
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.
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
16 matches
Mail list logo