How can I use printf to work with parameters regardless of their type? (Something like binding parameters in a prepared statement in PDO).
E.g.:
printf("Hello $s, you have $s new notifications.", $username, $newNotifications);
I tried something like that and didn't work.

