0

why is 28 not written within double quotes ??

if we need to declare a constant we need to use define() function.There is a question in constants' part to declare the age and the answer is just 28.however it should have been "28" ,i mean within double quotes.so should the value be written in double quotes ??

5th Jul 2018, 8:14 PM
rakesh kumar shah
rakesh kumar shah - avatar
4 Antworten
+ 1
Where? Please share the code, otherwise we cannot help because it depends on the context and programming language
5th Jul 2018, 8:55 PM
Matthias
Matthias - avatar
+ 1
We can’t read your mind
5th Jul 2018, 8:59 PM
TurtleShell
TurtleShell - avatar
+ 1
<?php define("AGE",28); ?>
6th Jul 2018, 5:00 AM
rakesh kumar shah
rakesh kumar shah - avatar
0
here the value i.e.,28 should be written in double quotes..ryt?
6th Jul 2018, 5:01 AM
rakesh kumar shah
rakesh kumar shah - avatar