- sprintf: documentation ( source)
<?php
$text = sprintf('We tried UNSUCCESSFULLY to auto-upgrade the extension %s on the site %s (%s)
because you have this configured in your myjoomla.com account,
We attempted to upgrade to version %s. I highly recommend you check your site % to see if its still working,
and then try to manually update this extension with the Joomla Updater to see any error. You will need to
re-enable auto-updates if you want us to try again next time as this action has changed the preference to
no auto-updates in future. :-) ',
1,
2,
3,
4
);
echo $text;