PHP - Warning: printf(): Too few arguments strange issue
<p>I have a strange error </p>

<p>When i run the following code, once in a while i get </p>

<pre><code>Warning: printf(): Too few arguments in /www/api/class.InvoicePayment.inc.php on line 92
</code></pre>

<p>However i don't understand why this happens because in my coding i have this line as</p>

<pre><code>if($output!="")
      printf($output);
</code></pre>

<p>how can the this printf get a warning even when the output variable is not empty .. </p>
