On Thu, May 2, 2013 at 6:46 PM, Stuart Langley <slang...@google.com> wrote: > So is the feature you're describing is tuples and a use case of that feature > is an easier way to do error handling?
No. Tuples are an implementation detail specific to how Python allows one to conveniently return multiple values. I merely mentioned this because PHP's ordered hash maps (arrays) provide a similar avenue of implementation. The ability to conveniently pass back multiple values is necessary to implement and promote an error handling convention similar to Go's, a convention that seems to work really well for many cases. I was proposing that this approach be considered as an addition to PHP. Adam -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php