Answers for "if function exist 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
3

if exist php

if (isset($var)) {
  // Code here
}
Posted by: Guest on May-25-2020

Browse Popular Code Answers by Language