DEV Community

Discussion on: I Want Scalar Objects in PHP

Collapse
 
samuraiseoul profile image
Sophie The Lionhart

I don't hate the dollar sign per say but I agree it is pretty glaring. But I mean putting a different symbol or the word var or something in front of all the variables wouldn't be much better either. I'm curious about another idea you have for it though!

Collapse
 
ianfoulds profile image
Ian Foulds • Edited

How about prefixing with a strict type?
dev.to/mattsparks/i-want-scalar-ob...