On Sat, Jun 19, 2021, at 12:39 AM, Hamza Ahmad wrote: > HI Larry Garfield, > > Do you have a plan to further extend this rfc? I mean, what if one > could typecast place holders? Broadly speaking, what if one could > perform some operations, such as arithmetic, bitwise, and type cast as > said above? > > `$foo = bar((type) ?);` > `$foo = bar(? & 0xFF);` > > Best > Hamza Ahmad
We have no plans to extend it in that fashion, no. The only follow up I have in mind myself is the pipes RFC. If you want to do inline processing like that on a function call, then I think you are better off using a short lambdas as you already can today. --Larry Garfield -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php