When do you use define() and when do you use const. What are the main differences between those two?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More PHP Interview Questions

Write a php function to convert all null values to blank?

0 Answers  


Which variable declarations within a class is invalid in php?

0 Answers  


Does wordpress still use php?

0 Answers  


What is the difference between echo print and print_r in php?

0 Answers  


Where sessions stored in PHP?

0 Answers  


What is the tags in PHP is not a valid way to begin and end a PHP code block?

0 Answers  


How to make a class in php?

0 Answers  


what is constructor

0 Answers  


Why do we use csrf token?

0 Answers  


How does php serialize work?

0 Answers  


Tell me what is the use of explode() function?

0 Answers  


How the values are ordered in an array?

0 Answers  


Categories