3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Modification and access time touch("/tmp/test2", strtotime("@0"), strtotime("@100400500")); $fileInfo = new SplFileInfo("/tmp/test2"); print($fileInfo->getMTime()."\n"); print($fileInfo->getATime()."\n");

preferences:
46.98 ms | 402 KiB | 5 Q