3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php echo $ts = date('d.m.Y', strtotime('this sunday', strtotime('05/03/2015'))); echo PHP_EOL; echo $ts = date('d.m.Y', strtotime('this saturday', strtotime('05/03/2015')));

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)
5.6.80.0130.03020.39
5.5.240.0330.06020.01
5.4.400.1930.04318.85
5.4.390.1800.04019.13
5.4.380.2000.03719.13
5.4.370.2430.04019.06
5.4.360.1800.04019.20
5.4.350.2130.03718.84
5.4.340.2100.02718.84
5.4.320.2070.04319.09
5.4.310.1970.04319.15
5.4.300.2030.04719.05
5.4.290.1870.04318.98
5.4.280.1800.03318.98
5.4.270.1630.04719.20
5.4.260.1870.03019.22
5.4.250.1770.03719.24
5.4.240.1970.03318.86
5.4.230.2000.04719.19
5.4.220.2030.04319.19
5.4.210.2000.04319.19
5.4.200.1930.04018.84
5.4.190.2130.03318.88
5.4.180.2100.04319.19
5.4.170.1830.04719.14
5.4.160.0070.04018.97
5.4.150.0030.04319.14
5.4.140.0170.06316.38
5.4.130.1670.03316.51
5.4.120.1770.04316.66
5.4.110.0070.05016.28
5.4.100.0100.04016.45
5.4.90.0030.04716.41
5.4.80.1530.03716.23
5.4.70.1930.04316.41
5.4.60.1770.04016.23
5.4.50.1430.03316.33
5.4.40.1800.03716.38
5.4.30.2330.03016.51
5.4.20.1730.03716.48
5.4.10.2000.03016.52
5.4.00.1730.03315.95
5.3.290.1670.04014.52
5.3.280.1730.03314.50
5.3.270.1970.04314.44
5.3.260.2000.04714.45
5.3.250.1970.04314.46
5.3.240.1700.04014.41
5.3.230.1730.03714.55
5.3.220.1730.04014.42
5.3.210.1970.03714.52
5.3.200.1970.04714.43
5.3.190.0730.05014.62
5.3.180.0030.04714.52
5.3.170.0100.05014.39
5.3.160.0070.03714.39
5.3.150.1800.03314.61
5.3.140.1900.04014.60
5.3.130.1870.04014.41
5.3.120.1800.03014.39
5.3.110.1770.03714.38
5.3.100.1800.03313.98
5.3.90.1730.04014.00
5.3.80.1830.03714.00
5.3.70.1830.03713.85
5.3.60.1870.03313.95
5.3.50.1830.05014.04
5.3.40.1830.03713.89
5.3.30.1770.03313.76
5.3.20.1770.03713.64
5.3.10.1770.04013.43
5.3.00.1830.03013.58
5.2.170.1430.03310.98
5.2.160.1470.02711.08
5.2.150.1530.02711.00
5.2.140.1530.03011.22
5.2.130.1630.02311.11
5.2.120.1630.02311.02
5.2.110.1600.02311.01
5.2.100.1470.03011.18
5.2.90.1600.03711.15
5.2.80.1700.04310.93
5.2.70.1630.04010.95
5.2.60.1500.03310.91
5.2.50.1600.03011.09
5.2.40.1170.02710.93
5.2.30.1270.02010.91
5.2.20.1370.03011.01
5.2.10.1370.03710.85
5.2.00.0930.03310.76
5.1.60.1130.02310.04
5.1.50.1400.0309.92
5.1.40.1200.02010.10
5.1.30.1270.04010.45
5.1.20.1030.02710.25
5.1.10.0030.03010.23
5.1.00.0070.0539.94
5.0.50.0030.0479.34
5.0.40.0070.0209.34
5.0.30.0030.0479.34
5.0.20.0100.0239.34
5.0.10.0700.0339.34
5.0.00.0570.0309.34
4.4.90.0670.0279.34
4.4.80.0730.0239.34
4.4.70.0730.0279.34
4.4.60.0870.0209.34
4.4.50.0670.0109.34
4.4.40.0630.0309.34
4.4.30.0670.0239.34
4.4.20.0530.0209.34
4.4.10.0500.0179.34
4.4.00.0500.0279.34
4.3.110.0530.0179.34
4.3.100.0700.0239.34
4.3.90.0630.0179.34
4.3.80.0630.0279.34
4.3.70.0770.0279.34
4.3.60.0630.0109.34
4.3.50.0570.0209.34
4.3.40.0830.0409.34
4.3.30.0130.0179.34
4.3.20.0000.0309.34
4.3.10.0000.0179.34
4.3.00.0000.0139.34

preferences:
143.47 ms | 1394 KiB | 7 Q