DEV Community

Discussion on: I Want Scalar Objects in PHP

 
pkristiancz profile image
Patrik Kristian

It could be usable tho... i imagine this:

$array = ((string) $float)->explode(.);