Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check if constant is defined php

// you can check their existence by using the defined() function
if (defined('VAR_NAME')) {
    // Something
}
 
PREVIOUS NEXT
Tagged: #check #constant #defined #php
ADD COMMENT
Topic
Name
3+2 =