Re: [VOTE] Deprecations for PHP 7.3
| From: | Levi Morrison | Date: | Mon, 09 Jul 2018 15:18:53 +0000 |
| Subject: | Re: [VOTE] Deprecations for PHP 7.3 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102669@lists.php.net to get a copy of this message | ||
On Mon, Jul 9, 2018 at 8:43 AM Sara Golemon <pollita@php.net> wrote:
>
> On Mon, Jul 9, 2018 at 5:57 AM, Marco Pivetta <ocramius@gmail.com> wrote:
> > Something unclear to me here: is the removal of
assert()
> > affecting also
> > my ownmy\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.