I have a test script to create new .txt files, it works perfect in my LARAVEL VALET SERVER, but not in XAMPP.
This is the script: