PHP: Double variable filenames

Hi. I was wondering: can files be named using 2 variables?
something like:

$a="not";
$b="_now";
touch("$a$b.txt");

If anyone knows how to do this, please tell me. Thank you.