On Mon, Jul 9, 2018 at 8:43 AM Sara Golemon <poll...@php.net> wrote:
>
> On Mon, Jul 9, 2018 at 5:57 AM, Marco Pivetta <ocram...@gmail.com> wrote:
> > Something unclear to me here: is the removal of `assert()` affecting also
> > my own`my\assert()` (imported via `use function`)?
> >
> Yes, but in fairness, your namespaced assert function is already a bit
> broken if you're not expecting it to be elided in production
> environments.
>
> -Sara
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php

Can you prove this somehow? Based on how `use function my\assert;`
works a call to `assert()` later in that file should appear to engine
as `my\assert`, not `assert`.

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

Reply via email to