I will update to take functions into consideration. Will let you know when the RFC/patch reflect it. On Dec 22, 2011, at 7:44 PM, Ángel González wrote:
>> (I'm unsure about the T_DOUBLE_ARROW, although for parsing, I feel there >> should be some token there >> before the class name, though I'm unconvinced on which) > > What about this? > > function foo (Class1 $a, Class2 $b) return Class3 { > /* Do something */ > return new Class3($a, $b); > } > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php