Re: [Discussion][RFC Idea] Cast Variables by Reference
| From: | Joseph Leedy | Date: | Mon, 07 Jul 2025 16:57:43 +0000 |
| Subject: | Re: [Discussion][RFC Idea] Cast Variables by Reference | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127944@lists.php.net to get a copy of this message | ||
On Mon, Jul 7, 2025, at 10:46, Rob Landers wrote:
> This is basically how non-strict mode works; there's no need for a cast. (I very rarely
> use strict mode, so I was a little confused on why you'd ever want to do this)
I always code in strict mode, so I find myself having to cast variables quite often.