define php

Solutions on MaxInterview for define php by the best coders in the world

showing results for - "define php"
María Paula
21 Jan 2020
1//define() is used to create constants
2define(name,value);
3//here name has to be a string
4//here value can be string, integer, float, boolean or NULL, 
5//and can be an array to if you are using PHP 7.0+
6
7//define() before php 7.3
8define(name,value,case_insensitive);
9//case_insensitive is optional and can be TRUE or FALSE by default its false
Debora
28 Oct 2016
1define("name", {value});