Answers for "Check if function exists PHP"

0

function exists php

<?php
if (function_exists('imap_open')) {
    echo "IMAP functions are available.<br />n";
} else {
    echo "IMAP functions are not available.<br />n";
}
?>
Posted by: Guest on April-15-2021
1

function exists

function_exists('function_name'); //Will return true if function exists
Posted by: Guest on August-10-2020

Code answers related to "Check if function exists PHP"

Browse Popular Code Answers by Language