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

What is url encoding and decoding in php?

0 Answers  


What is the use of extract function in php?

0 Answers  


How long is csrf token?

0 Answers  


How to call javascript function in php on button click?

0 Answers  


Tell me what are sql injections, how do you prevent them and what are the best practices?

0 Answers  






How to do single and multi line comment in php?

0 Answers  


What is laracast?

0 Answers  


What is constructors and destructors?

0 Answers  


Why php is used in html?

0 Answers  


How stop the execution of a php scrip?

0 Answers  


How do I escape data before storing it in the database?

0 Answers  


What are the three classes of errors that can occur in php?

0 Answers  


Categories