On 08/08/11 13:16, Paul Dragoonis wrote:
On Mon, Aug 8, 2011 at 12:06 PM, Alexey Shein<con...@gmail.com>  wrote:
I think it's just a bad habit inherited from Javascript, where you can
do like this:
var a = function(a, b) { };
alert(a.length); // shows 2

I don't think that PHP needs it, explicit method is way better.

I am agreeing with the fact that we don't need any more magic in PHP
and explicit methods go much further than any magic you can add to a
language.
I'm also agreeing :-). It was just a proposition.

Cheers.

--
Ivan Enderlin
Developer of Hoa
http://hoa.42/ or http://hoa-project.net/

Member of HTML and WebApps Working Group of W3C
http://w3.org/


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

Reply via email to