Re: [VOTE] Scalar Type Hints
| From: | Matteo Beccati | Date: | Fri, 13 Feb 2015 16:58:45 +0000 |
| Subject: | Re: [VOTE] Scalar Type Hints | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82623@lists.php.net to get a copy of this message | ||
On 13/02/2015 17:29, Benjamin Eberlei wrote:
Wait i almost forgot, it *does* have an effect on me, especially around callback handling: https://gist.github.com/schmittjoh/778e044deacc6f1fe516 Essentially callbacks are evaluated in the mode they are called in, not in the one they are defined.This is indeed interesting. And the failure could even be not so obvious like a mismatch between the callback signature and what the caller expects. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/