Answers for "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

Browse Popular Code Answers by Language