Difference between the include() and require() functions?

They both include a specific file but on require the process exits with a fatal error if the file can’t be incorporated, while contain statement may still pass and jump to the next step in the implementation.

 

Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
Yes0
No0
Harinder Singh

Harinder Singh

My name is Harinder Singh and I specialize in Software industry. I consider myself as a life learner. I love learning new concepts, embracing new ideas and reading and searching for innovation.