Hi.
I've just found a nice feature request in the bugtracker:
https://bugs.php.net/bug.php?id=53399
what do you think about it?
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
Hi:
+1 for this
thanks
2011/9/27 Ferenc Kovacs tyra3l@gmail.com:
Hi.
I've just found a nice feature request in the bugtracker:
https://bugs.php.net/bug.php?id=53399what do you think about it?
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu--
--
Laruence Xinchen Hui
http://www.laruence.com/
One thing I noticed this could be useful for is allowing null values
on typehinted arguments:
function f(TypeHint $arg = null, $arg2);
$arg can now be either instanceof TypeHint or null.
(Just noting that it does influence behavior sometimes, not that this
is relevant.)
Nikita
Hi.
I've just found a nice feature request in the bugtracker:
https://bugs.php.net/bug.php?id=53399what do you think about it?
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
Hi!
Hi.
I've just found a nice feature request in the bugtracker:
https://bugs.php.net/bug.php?id=53399what do you think about it?
I think the idea is good, however the patch seems too complicated. I do
not think we need additional flag and not sure why would we need
additional pass through arguments to do it - if we say everything after
certain arg is optional, then we already know how to do it, we have
settings for that in args structure. And we can detect this stuation
immediately when we parse the arguments on compile.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227