Wednesday, 28 August 2013

Which is the better syntax while including a file in PHP?

Which is the better syntax while including a file in PHP?

Some people include files like this:
include ('file.php');
and some people include files like this:
include 'file.php';
I think here the use of brackets is completely unnecessary. What are your
views? Which style is better and why?

No comments:

Post a Comment