Re: [PHP-DEV] rename T_PAAMAYIM_NEKUDOTAYIM to T_DOUBLE_COLON

2010-10-30 Thread Daniel Jänecke


On 30.10.2010 08:34, Chad Emrys wrote:
 Well Rasmus, I wish you would hang out more in ##php on freenode.  (I
 see you there every so often) But we do get that question about that
 thing a lot.  And even some rage, and I have to cool them off with all
 the reasons you and Andi are giving me right now.  But I am not
 convinced nostalgia or teaching the English speakers a lesson is a
 good reason to keep around a confusing error message.

Well, isn't the problem here more people asking on IRC rather than using
a search engine before? Renaming will not solve that.

~danielj

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Let blocks

2007-07-18 Thread Daniel Jänecke
I don't get the point of it. IMO this will only add another level of
confusion to sourcecode; unless someone has a real good example (better
than those in the posted link) where this technique is required I cannot
see which benefit this feature adds.

regards
danielj

Keryx Web wrote:
 Hi again!
 
 Now that namespaces seem to be on their way into PHP 6 I wonder if
 let-blocks, as in JavaScript 1.7+, ever has been considered for PHP, to
 hide global variables from each other?
 
 If so, can someone point me to the discussion?
 
 For those that might have missed JS 1.7:
 http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7#Block_scope_with_let
 
 
 Lars Gunther
 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] RIP PHP 4?

2007-07-09 Thread Daniel Jänecke
Alain Williams wrote:

[snip]

 What might be nice is a patch to PHP4 that provides a bit in error_reporting
 that would cause warnings on stuff that might break on a move to PHP5.
 
 Someone could then switch it on and look at what is logged. I suspect that
 many people would also be pleasantly surprised that 4 - 5 is not as hard
 as it seems.

I don't know how realistic this is but IMO that's a very good idea.

One of the major problems for my company which still uses PHP4 is just
to find out which parts of our apps will break with PHP5. Having an
error log with all the issues to be fixed on migrating would make
planning much easier.

Daniel

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php