我的包括在我的流浪箱上工作罚款和不在生产中工作。请告诉我为什么?
例子:
include 'app\Exceptions\exception_handler.php';
它不应该在linux上工作,但它可以工作。为什么?
下面是它的工作位置配置,但不应:
print 'directory separator is ' . DIRECTORY_SEPARATOR . "\n"
回报
我的目录分隔符是/
phpinfo()
PHP Version - 5.6.37-1+ubuntu18.04.1+deb.sury.org+1
System - Linux homestead 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64
Server API - Apache 2.0 Handler
Apache Version - Apache/2.4.29 (Ubuntu)
是因为我使用windows共享文件夹来保存Ubuntu vagrant box上托管的文件吗?