3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $archiveName = time(); echo $archiveName - (60*60); $archivePath = substr($archiveName, 0, 6); $archivePath .= DIRECTORY_SEPARATOR . $archiveName; echo $archiveName . PHP_EOL; echo $archivePath;
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.1.5, 7.1.7 - 7.2.6
13758501751375853775 137585/1375853775
Output for 7.1.6
13758501761375853776 137585/1375853776
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
1375850175 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Qnr4M on line 10 1375853775PHP_EOL137585/1375853775