What does the dot-slash do to PHP include calls?

前端 未结 7 1441
隐瞒了意图╮
隐瞒了意图╮ 2020-12-01 09:05

A. What does this do?

require (\"./file.php\");

B. in comparison to this?

require (\"file.php\");

(

相关标签:
7条回答
  • 2020-12-01 09:52

    It's explicitly naming the current directory.

    0 讨论(0)
提交回复
热议问题