Re: [RFC][DISCUSSION] Deprecation of fallback to root scope
| From: | Wes | Date: | Sat, 03 Feb 2018 12:15:17 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Deprecation of fallback to root scope | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101751@lists.php.net to get a copy of this message | ||
question was:
> Do I get that right that it will then no longer be possible to mock
functions from the root namespace during tests?
> At least when the functions are "use"d or are explicitly namespaced...
> Being able to mock functions like "date" or "time" or "mt_rand"
> is
currently extremely helpful.