PHP function name on the fly
<p>I have a rather stupid PHP question :D! I would like to simplify the following statement:</p>

<pre><code>function hello_input() {
    return 'Hello World';
}

$helper = 'hello';

$helper = $helper . '_input';

$data = $helperinput();
</code></pre>

<p>The specific part I want to simplify is the adding of the _input to the $helper so it calls the right function.</p>

<p>I thought of something like this but it doesn't work:</p>

<pre><code>$data = $helper. 'input'();
or
$data = $helper. 'input' . ();
</code></pre>

<p>Any ideas?</p>

<p>Thanks,
Max</p>
