PHP - Output and String Handling
What will be the output of this PHP code?
$price = 9.99;
echo sprintf("Price: $%.2f", $price);
$price = 9.99;
echo sprintf("Price: $%.2f", $price);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions