3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( date('Y', (strtotime('01-01-1999')) );

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.4.320.3430.03718.95
5.4.310.3330.03319.31
5.4.300.3300.03718.98
5.4.290.3300.03318.85
5.4.280.3770.04719.13
5.4.270.3570.03719.16
5.4.260.3670.03719.22
5.4.250.3630.04318.87
5.4.240.3400.03319.06
5.4.230.3530.02719.06
5.4.220.3370.04018.88
5.4.210.3400.02719.19
5.4.200.3530.03318.86
5.4.190.2900.03319.20
5.4.180.3970.04319.19
5.4.170.3400.03019.18
5.4.160.2900.03719.13
5.4.150.3300.03719.20
5.4.140.3230.04016.50
5.4.130.3370.03316.50
5.4.120.3370.03316.50
5.4.110.3370.03316.59
5.4.100.3430.03016.41
5.4.90.3200.03316.25
5.4.80.3100.03016.36
5.4.70.3300.03716.44
5.4.60.3930.03716.52
5.4.50.2530.03016.14
5.4.40.2870.03316.43
5.4.30.3000.03316.32
5.4.20.2570.03316.16
5.4.10.2770.03016.50
5.4.00.3170.04015.84
5.3.290.3530.04014.61
5.3.280.3570.03314.47
5.3.270.3270.04014.54
5.3.260.3370.03314.43
5.3.250.3570.03714.45
5.3.240.3300.03714.70
5.3.230.3300.03014.45
5.3.220.3430.03714.47
5.3.210.3430.04014.40
5.3.200.3500.03014.56
5.3.190.3070.04314.40
5.3.180.3470.04014.51
5.3.170.3070.04014.66
5.3.160.3900.03014.55
5.3.150.2130.04314.41
5.3.140.2730.04014.39
5.3.130.2770.04014.40
5.3.120.2370.03314.50
5.3.110.3700.02714.50
5.3.100.2970.04313.99
5.3.90.3070.03013.96
5.3.80.3100.03713.90
5.3.70.3270.03713.87
5.3.60.3570.02713.83
5.3.50.3330.03713.85
5.3.40.3330.03713.93
5.3.30.3370.03013.96
5.3.20.3270.04013.47
5.3.10.3370.03313.51
5.3.00.3270.03713.59
5.2.170.2670.03312.98
5.2.160.2870.02712.98
5.2.150.2670.03312.98
5.2.140.2770.03012.98
5.2.130.2700.02012.98
5.2.120.2330.03012.98
5.2.110.2800.02712.98
5.2.100.3030.03012.98
5.2.90.2570.03312.98
5.2.80.2600.02312.98
5.2.70.3000.02712.98
5.2.60.2400.02712.98
5.2.50.2800.02712.98
5.2.40.1870.02712.98
5.2.30.2470.03012.98
5.2.20.1830.03012.98
5.2.10.2230.02712.98
5.2.00.1670.03012.98
5.1.60.2130.02012.98
5.1.50.2170.02712.98
5.1.40.1870.02012.98
5.1.30.2030.02312.98
5.1.20.1030.02312.98
5.1.10.1430.03012.98
5.1.00.1430.03012.98
5.0.50.0670.02312.98
5.0.40.0930.01712.98
5.0.30.0770.03312.98
5.0.20.0600.02012.98
5.0.10.0970.01312.98
5.0.00.0700.02712.98
4.4.90.1200.01712.98
4.4.80.0630.01312.98
4.4.70.0770.01312.98
4.4.60.0570.01712.98
4.4.50.1000.01712.98
4.4.40.0800.02312.98
4.4.30.1170.01312.98
4.4.20.0370.01012.98
4.4.10.0470.01712.98
4.4.00.0500.02712.98
4.3.110.0900.01712.98
4.3.100.0670.01312.98
4.3.90.0630.01312.98
4.3.80.0600.02712.98
4.3.70.1100.01312.98
4.3.60.0930.01312.98
4.3.50.0900.01712.98
4.3.40.1170.02312.98
4.3.30.0370.01712.98
4.3.20.0470.01712.98
4.3.10.0130.01312.98
4.3.00.0530.01712.98

preferences:
143.3 ms | 1394 KiB | 7 Q