There are few differences between variables and constants-
Variables
1)-The value of a variable can be changed during the execution.
2)-Variables require compulsory usage of the $ sign at the start.
Constants
1)-The constant value can’t be changed during script execution.
2)-No dollar sign ($) is required before using a constant.
Copyright ©2022 coderraj.com. All Rights Reserved.