Re: [Discussion][RFC Idea] Cast Variables by Reference

From: Date: Mon, 07 Jul 2025 18:00:32 +0000
Subject: Re: [Discussion][RFC Idea] Cast Variables by Reference
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-127948@lists.php.net to get a copy of this message
On Mon, Jul 7, 2025, at 11:54, Claude Pache wrote: > Hi, > > There is already a built-in function for that very purpose, namely > settype(), see: > > https://www.php.net/settype > > > —Claude Thanks, Claude. Over twenty years of PHP development and I didn't know that function exists (or I forgot about it). TIL! Still, this function seems clunkier than a straight cast would be.

« previous php.internals (#127948) next »