Jump to content

Dynamically loading a function?


Perad

Recommended Posts

Hi!

 

Was wondering, how do I dynamically load a function? For example...

 

/class/function/var1/var2

 

The easy bit is by exploding the string.

 

0 is the class

1 is the function

 

but if the number of variables is anything between 1 and 10 how do I dynamically put them into the function?

Link to comment
https://forums.phpfreaks.com/topic/184805-dynamically-loading-a-function/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.