Need to know if the magic __call() request is expecting a return result
<p>Essentially, I want to enact different behavior in the following two scenarios.</p>

<pre><code>&lt;?php
$foo = Bar();
echo $foo-&gt;baz(1);
$foo-&gt;baz(1);
</code></pre>

<p>I want to handle "echo $foo->baz(1)" differently because the call is expecting a return result.</p>

<p>I am wiring up these calls to a pl/sql backend, where pl/sql cares deeply for the difference between a function and a procedure. Is there any way to detect this?</p>
