3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = time(); $date = date(DATE_FORMAT_SHORT, $time); $d = $time - strtotime($date); var_dump($d);

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.2.60.0000.01616.96
7.2.00.0000.01219.39
7.1.200.0040.00815.84
7.1.100.0160.00618.10
7.1.70.0170.00317.27
7.1.60.0030.02119.36
7.1.50.0060.00917.12
7.1.00.0130.06722.40
7.0.200.0000.00816.71
7.0.80.0370.04319.90
7.0.70.0370.06719.92
7.0.60.0100.07719.87
7.0.50.0530.08320.32
7.0.40.0000.05320.12
7.0.30.0070.04720.13
7.0.20.0070.04720.18
7.0.10.0100.06320.08
7.0.00.0030.05320.02
5.6.280.0000.05021.02
5.6.230.0030.07720.50
5.6.220.0070.05020.58
5.6.210.0070.08320.46
5.6.200.0100.08321.08
5.6.190.0030.05320.93
5.6.180.0070.04721.00
5.6.170.0000.08321.13
5.6.160.0170.07321.02
5.6.150.0070.07021.01
5.6.140.0170.07321.10
5.6.130.0100.05320.94
5.6.120.0130.07720.93
5.6.110.0200.08021.06
5.6.100.0070.08321.05
5.6.90.0070.05021.10
5.6.80.0100.05720.33
5.6.70.0100.10020.54
5.6.60.0170.06320.38
5.6.50.0100.08020.43
5.6.40.0100.08020.43
5.6.30.0100.07720.36
5.6.20.0130.03720.39
5.6.10.0170.05020.48
5.6.00.0070.07020.39
5.5.370.0000.05320.36
5.5.360.0100.09320.42
5.5.350.0270.06720.41
5.5.340.0100.08020.73
5.5.330.0070.05320.79
5.5.320.0070.07020.82
5.5.310.0070.08020.72
5.5.300.0070.06320.82
5.5.290.0070.08020.85
5.5.280.0200.05720.75
5.5.270.0100.06320.79
5.5.260.0100.06020.86
5.5.250.0100.06320.68
5.5.240.0070.07720.28
5.5.230.0100.06320.27
5.5.220.0100.07720.17
5.5.210.0130.07020.20
5.5.200.0070.07320.27
5.5.190.0070.07720.17
5.5.180.0130.08020.22
5.5.160.0030.04720.20
5.5.150.0100.07720.26
5.5.140.0070.06720.18
5.5.130.0100.06720.17
5.5.120.0030.04320.14
5.5.110.0170.06020.19
5.5.100.0030.04720.10
5.5.90.0100.07720.05
5.5.80.0000.04720.06
5.5.70.0100.07320.04
5.5.60.0100.04020.07
5.5.50.0030.06320.05
5.5.40.0030.08020.09
5.5.30.0030.07320.14
5.5.20.0070.07020.01
5.5.10.0030.08020.07
5.5.00.0030.08320.03

preferences:
35.99 ms | 400 KiB | 5 Q