Is this just a stylistic difference, or does using require_once('filename.php') vs require_once 'filename.php' have actual load/efficiency differences?
Is this just a stylistic difference, or does using require_once(‘filename.php’) vs require_once ‘filename.php’ have
Share
It’s exactly the same thing. It’s a matter of style.
The parentheses may get in the way some times. For instance, this example from the manual doesn’t do what you expect:
See example #4.