Answers for "check if constant is defined php"

PHP
0

check if constant is defined php

// you can check their existence by using the defined() function
if (defined('VAR_NAME')) {
    // Something
}
Posted by: Guest on February-11-2022

Code answers related to "check if constant is defined php"

Browse Popular Code Answers by Language