What is the main difference between require() and require_once()?
- Sarmila Thakur
- Query: 17 / Answer: 16
- Sikharani
- Query: 9 / Answer: 8
require() and require_once() perform the same task except that the second function checks if the PHP script is already included or not before executing it.
(same for include_once() and include())
-
- Information
-
About Forum
This educational forum is produly developed by betaQsolutions-A leading software company in Odisha. This forum is developed to discuss the educational topics only betweeen the Students, teachers, Parents & Experts. Topic related to Career, Syllabus, Subjects, Questions, Exams etc are allowed to discuss here.
-
Statistics
Total topics 43 • Total Query 1114 • Total members 247 • Total Answered 1285