>De : Nathan wesley [mailto:nathan.o.wes...@gmail.com] 
>
> if you're going to write  API for string manipulation for example you want it 
> either Object Oriented or procedural style. 
> because the API should be fluent method chaining etc. you don't want to stop 
> the chain and wrap it with a function call.
> (just my opinion) these things needs to be discussed if the internals are 
> willing to do it. it will happen !  

What I meant is that we need a syntax that allows unambiguous parameter order 
and chained calls but we probably shouldn't use the '->' operator for scalars. 
The main reason is that it would make code harder to understand, but there are 
other reasons (like function receiving object arguments).

Regards

François


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

Reply via email to