On Fri, Mar 17, 2017 at 9:10 PM, David Rodrigues <david.pro...@gmail.com> wrote:
> In this case, when you call range() inside a Generator() constructor, then
> the range() (in C++) will acts differently, like a xrange().
>
Doable: Yes.
Fundamentally broken within PHP's engine design: Definitely.

Calling scope should absolutely not have that kind of effect on what's
being called.

-Sara

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

Reply via email to