Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
return sprintf(
“The user %s %s has a balance of $%f.”,
$firstName,
$lastName,
$balance
);
return "The user " . $firstName . " has a balance of $" . $balance . ".";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment