It seems that in the PHP 7 version for Scalar Objects, it is now possible to do something like "str"->toUpper(). It is very nice, but I find that string interpolation wont work. So the code below will fail:
$filepath = "{$path}/{$class}.php"->toLower();
Is this the expected behavior, or is it a glitch? Just wondering.