Programming Tips
  • Home
  • Frameworks
    • Laravel
    • CakePHP
  • Magento
    • Magento 2
    • Magento 1
  • PHP
  • JavaScript
    • jQuery
  • CSS
  • Other
    • htaccess
    • SSH
    • Server Management
  • Hosting
Select Page

PHP: Get the PHP extension name of a function by the function name

May 10, 2020 | PHP | 0 comments

$function_name = 'imagecreate';

$class = new ReflectionFunction($function_name);
$extension = $class->getExtension();
echo $extension;

Share on Twitter Share on Facebook Share on LinkedIn Share on Email Share on WhatsApp Share on Telegram

Search

Categories

  • Cloudflare
  • CMS
    • Joomla
      • Joomla Templating
      • K2
      • T3 Framework
  • CSS
  • Excel
  • FaceBook
  • Frameworks
    • CakePHP
  • General
  • Git
  • JavaScript
    • AJAX
    • jQuery
    • MooTools
  • Magento 1
  • MySQL
  • PayPal
  • PHP
  • Security
    • htaccess
    • Server Management
    • SSH
  • Ubuntu
  • Uncategorized
  • WHMCS

Tag Cloud

AJAX CakePHP CakePHP 2 Cart Cloudflare CSS CSS3 Envato Error facebook facebook comments Git GoDaddy htaccess IP address IPv4 IPv6 JavaScript Joomla Joomla 1.5 JQuery K2 Magento 1 MySQL PHP Price Programmatically Rule Security Server Management Shopping SSH T3 Framework url warning

Recent Comments

  • Piter entity on Magento – How to create a special price (sale) page? (with new products first)
  • ILDaviz on Magento Dataflow Export/Import form the command line
  • ala on Warning: Parameter 2 to frontpage() expected to be a reference
  • Support PaceTech on Magento: Rating showing twice on product pages
  • Susanta Kumar Das on Magento Dataflow Export/Import form the command line
  • Privacy Policy
  • Terms of Use
  • Facebook
  • Twitter
  • RSS

Designed by Elegant Themes | Powered by WordPress