All pastes #341297 Raw Edit

ChrisR.

public php v1 · immutable
·published 2007-02-05 14:37 UTC
rendered paste body
<?phpfunction one($a, $b, $c='foo'){	// Do stuff}function two($a, $b, $c='foobar', $d='foo', $e='bar'){	// Do stuff}function three($a){	// Do stuff}$args = array( ... ); // This array gets filled with values from either a database or other source$function = "one"; // The function to be called, in this case one, two or three/** * Ideally if this code below would work my problem would be solved but for obvious reasons this isn't valid PHP Code :) */$function(implode(",", $args));?>