3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $file_last_modified = filemtime("php-basic-exercises.php"); echo "Last modified " . date("l, dS F, Y, h:ia", $file_last_modified); ?>
Output for 5.0.0 - 7.1.0
Warning: filemtime(): stat failed for php-basic-exercises.php in /in/Tsg2p on line 2 Last modified Thursday, 01st January, 1970, 01:00am
Output for 4.3.2 - 4.4.9
Warning: filemtime(): Stat failed for php-basic-exercises.php (errno=2 - No such file or directory) in /in/Tsg2p on line 2 Last modified Thursday, 01st January, 1970, 01:00am
Output for 4.3.0 - 4.3.1
Warning: filemtime() [http://www.php.net/function.filemtime]: Stat failed for php-basic-exercises.php (errno=2 - No such file or directory) in /in/Tsg2p on line 2 Last modified Thursday, 01st January, 1970, 01:00am