Tell me can the value of a constant change during the script's execution?



Tell me can the value of a constant change during the script's execution?..

Answer / Raj Karan Verma

No, the value of a constant cannot be changed during the script's execution in PHP. Constants are defined with the const keyword and have a fixed value throughout the entire script.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is constructors and destructors?

1 Answers  


Do you know what is the function mysql_pconnect() usefull for?

1 Answers  


How to remove html tags from data in php?

1 Answers  


What is the delimiter syntax is PHP's default delimiter syntax

1 Answers  


What is the definition of a session?

1 Answers  


which function used to get the number of days between two given dates in php

1 Answers  


What is the difference between urlencode and urldecode ?

3 Answers  


What is php and sql?

1 Answers  


hello friend koi mujhe bata skta ke php easy way se aur jaldi kese seekh skte h...plz im waiting for ur answer..

2 Answers  


How can I learn php fast?

1 Answers  


What is the difference between php4 and php5?

1 Answers  


If the variable $a is equal to 5 and variable $b is equal to character a, what’s the value of $$b? Can anyone explain how's the value of $$b=100

15 Answers   ABC, Asan, Indivar, Swistro Marketing Solutions,


Categories