[lang-ref] ( touch_file ) ( php )
<?php
public function testTouchFile(): void
{
// touch($filename)
touch('file1.txt');
$this->assertTrue(file_exists('file1.txt'));
}
<?php
public function testTouchFile(): void
{
// touch($filename)
touch('file1.txt');
$this->assertTrue(file_exists('file1.txt'));
}