Tag Archives: constant in php interview questions

PHP constants

A constant may be defined as -starts with letter,underscore no $ sign is required like variable definition this value not change in the entire script. creating a constant we use the ‘Define’ keyword with 3 parameters Define(‘constant name’,’value’,’optional parameter tot specify case-sensitive ‘) optional parameter is true.otherwise leave it blank. case-sensitive constant- blank case-insensitive constant-true… Read More »