The way that I have done this in the past is to use an associative array to do the lookup of the name of the function to call. It ends up looking something like this:

If you name the option and the function the same thing, you could skip that step, no?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to