php - sprintf very simple question
<p>I'm just wondering if omitting an argument from sprintf is going to cause any issues.</p>

<p>I can't recall for sure, but I think on one of my sites if I omitted the arguments it error'd out, but I tried it on a different server and it's not posting any issues with all php error notices turned on.</p>

<p>Just want to double check!</p>

<p>Example:</p>

<pre><code>sprintf('This is an example %s','test'); // outputs "This is an example test"
sprintf('This is an example','test'); // outputs "This is an example"
</code></pre>
