PHP Sprintf возвращает форматированную строку

<?php
$num = 5;
$location = 'tree';

$format = 'There are %d monkeys in the %s';
echo sprintf($format, $num, $location);
?>
SAMER SAEID