<?php mkdir( string $directory, int $permissions = 0777, bool $recursive = false, ?resource $context = null): bool
<?php $testsBaseDir = "{$this->testSuite->rootPath}/tests"; if (! is_dir($testsBaseDir)) { mkdir($testsBaseDir); } View::render('components.badge', [
<?php } if (! is_dir(dirname($toPath))) { mkdir(dirname($toPath)); } copy($fromPath, $toPath);
<?php $snapshotFilename = $this->getSnapshotFilename(); if (! file_exists(dirname($snapshotFilename))) { mkdir(dirname($snapshotFilename), 0755, true); } file_put_contents($snapshotFilename, $snapshot);