8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b38430e commit 35e98e6Copy full SHA for 35e98e6
components/filesystem.rst
@@ -34,7 +34,7 @@ endpoint for filesystem operations::
34
$fileSystem = new Filesystem();
35
36
try {
37
- $fileSystem->mkdir('/tmp/random/dir/'.mt_rand());
+ $fileSystem->mkdir(sys_get_temp_dir().'/'.random_int(0, 1000));
38
} catch (IOExceptionInterface $exception) {
39
echo "An error occurred while creating your directory at ".$exception->getPath();
40
}
0 commit comments