Answers for "php check if function if exists"

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
3

if exist php

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

Browse Popular Code Answers by Language