3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(strtotime('-1 day', time())); var_dump(date('Y-m-d', strtotime('-1 day', time())); ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.10.0230.07320.06
7.0.00.0170.07320.22
5.6.160.0070.09020.56
5.6.150.0070.07018.29
5.6.140.0170.03318.16
5.6.130.0030.08318.16
5.6.120.0130.05321.11
5.6.110.0130.06020.98
5.6.100.0030.04021.00
5.6.90.0030.04321.04
5.6.80.0030.08720.50
5.5.300.0130.06317.94
5.5.290.0000.04017.95
5.5.280.0170.07720.73
5.5.270.0130.05320.86
5.5.260.0130.09020.67
5.5.250.0100.03320.68
5.5.240.0130.07020.25

preferences:
139.25 ms | 1394 KiB | 7 Q