TECH ON RIA – Shubham's Blog

The World is full of learning opportunities. grab it, keep it, spread it.

Menu

Skip to content
  • Web
  • Mobile
  • Cloud
  • Tricks and Tips
  • Vigyan Club
  • Basket
  • Consult Me
Sidebar

Category Cloud

Adobe Flex angularjs Cloud ExtJS/Sencha Touch/Javascript heroku Mobile php SQL Tricks and Tips Uncategorized Vigyan Club Web

Social

  • View goyalshubham13’s profile on Facebook
  • View goyalshubham13’s profile on Twitter
  • View goyalshubham’s profile on LinkedIn
  • View goyalshubham13’s profile on GitHub

string functions calling

How to call a php function if function name is given as string

Standard

Sometimes we require to call a function with the name given as string variable. I wanted it. Just wondering how to do that in PHP? Here are the methods:

We have one inbuilt function to solve this purpose 1.call_user_func and another way is 2. Using function name as variable.

Continue reading

  • Date June 1, 2016
  • Tags functions, php, string functions calling
  • Comments Leave a comment
Create a website or blog at WordPress.com
  • Subscribe Subscribed
    • TECH ON RIA - Shubham's Blog
    • Already have a WordPress.com account? Log in now.
    • TECH ON RIA - Shubham's Blog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar