3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = timetostr('1442604145');

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.10.0030.01016.64
7.3.00.0060.00616.69
7.2.130.0060.00316.78
7.2.120.0030.01016.79
7.2.110.0080.00516.57
7.2.100.0130.00316.67
7.2.90.0030.01016.87
7.2.80.0070.00716.90
7.2.70.0030.00716.94
7.2.60.0070.00716.85
7.2.50.0150.00616.79
7.2.40.0120.00616.83
7.2.30.0030.01316.74
7.2.20.0100.00716.87
7.2.10.0070.00716.79
7.2.00.0050.01017.93
7.1.250.0040.00715.38
7.1.200.0040.00815.61
7.1.100.0070.00717.94
7.1.70.0000.00716.95
7.1.60.0060.01919.18
7.1.50.0000.01416.67
7.1.00.0070.07322.35
7.0.200.0190.00016.38
7.0.60.0070.07719.77
7.0.50.0030.05317.82
7.0.40.0100.07320.26
7.0.30.0130.04320.33
7.0.20.0230.04720.01
7.0.10.0070.08720.00
7.0.00.0070.06720.19
5.6.280.0000.03321.12
5.6.210.0030.08720.56
5.6.200.0070.06718.18
5.6.190.0070.04320.57
5.6.180.0230.07720.56
5.6.170.0330.07720.33
5.6.160.0070.04020.49
5.6.150.0130.08018.04
5.6.140.0070.04718.19
5.6.130.0030.04318.11
5.6.120.0070.04021.04
5.6.110.0070.08321.11
5.6.100.0000.07320.96
5.6.90.0130.06321.09
5.6.80.0130.06020.37
5.6.70.4070.04020.42
5.5.350.0100.07720.39
5.5.340.0030.06718.04
5.5.330.0100.04720.21
5.5.320.0230.08320.31
5.5.310.0300.08020.21
5.5.300.0130.07018.00
5.5.290.0030.04017.92
5.5.280.0070.07720.83
5.5.270.0100.08020.88
5.5.260.0100.03720.86
5.5.250.0170.07720.54
5.5.240.0300.06320.22
5.4.450.0100.05719.46
5.4.440.0370.05319.63
5.4.430.0770.05719.46
5.4.420.0630.05719.48
5.4.410.0700.05319.11
5.4.400.0830.06019.26
5.4.390.0570.07019.15
5.4.380.0600.05718.95
5.4.370.0370.05719.24
5.4.360.0130.06019.32
5.4.350.0370.06719.30
5.4.340.0770.05319.30
5.4.320.0700.05719.22
5.4.310.0770.05319.30
5.4.300.0670.04719.25
5.4.290.0570.06319.30
5.4.280.0600.06718.94
5.4.270.0800.06318.91
5.4.260.0630.05018.77
5.4.250.0700.04719.30
5.4.240.0630.05019.07
5.4.230.0670.05718.96
5.4.220.0770.06019.11
5.4.210.0670.07018.91
5.4.200.0900.05016.70
5.4.190.0630.06319.28
5.4.180.0600.05318.86
5.4.170.0530.06019.25
5.4.160.0870.05719.09
5.4.150.0700.06019.16
5.4.140.0730.04716.33
5.4.130.0600.04716.44
5.4.120.0770.04716.48
5.4.110.0670.05716.21
5.4.100.0830.07016.43
5.4.90.0800.05716.44
5.4.80.0770.05316.48
5.4.70.0600.05316.46
5.4.60.0870.03716.36
5.4.50.0870.03716.34
5.4.40.0700.05016.21
5.4.30.0770.06016.45
5.4.20.0800.05316.25
5.4.10.0770.06016.34
5.4.00.0830.07015.94
5.3.290.0830.06314.50
5.3.280.0800.05014.43
5.3.270.0600.06014.48
5.3.260.0600.06014.45
5.3.250.0800.05714.47
5.3.240.0900.06014.44
5.3.230.0770.06314.44
5.3.220.0770.06014.40
5.3.210.0730.05014.51
5.3.200.0670.05714.51
5.3.190.0670.06314.39
5.3.180.0900.06314.46
5.3.170.0500.06314.65
5.3.160.0770.06014.50
5.3.150.0830.05014.44
5.3.140.0770.04714.40
5.3.130.0730.07714.51
5.3.120.0930.06714.41
5.3.110.0800.05014.52
5.3.100.0870.05713.88
5.3.90.0730.05313.86
5.3.80.0700.04713.79
5.3.70.0830.07714.11
5.3.60.0770.07014.02
5.3.50.0800.04313.78
5.3.40.0970.04713.73
5.3.30.0800.04313.75
5.3.20.0700.05313.53
5.3.10.0530.05713.64
5.3.00.0670.05713.48
5.2.170.0600.04710.94
5.2.160.0700.05011.08
5.2.150.0700.05311.22
5.2.140.0670.05711.18
5.2.130.0600.04311.18
5.2.120.0500.04010.94
5.2.110.0530.04310.93
5.2.100.0570.04711.11
5.2.90.0570.03710.89
5.2.80.0530.04311.03
5.2.70.0670.05311.04
5.2.60.0700.05710.89
5.2.50.0500.05010.85
5.2.40.0100.05310.93
5.2.30.0130.05010.80
5.2.20.0170.04010.86
5.2.10.0500.04310.91
5.2.00.0370.04710.76
5.1.60.0430.0409.90
5.1.50.0430.03310.04
5.1.40.0270.0339.86
5.1.30.0070.04010.38
5.1.20.0130.03310.42
5.1.10.0100.0409.92
5.1.00.0070.04710.16
5.0.50.0100.0378.51
5.0.40.0130.0238.37
5.0.30.0170.0438.20
5.0.20.0230.0308.25
5.0.10.0230.0378.21
5.0.00.0100.0407.99
4.4.90.0070.0207.79
4.4.80.0070.0277.79
4.4.70.0070.0277.79
4.4.60.0100.0307.79
4.4.50.0230.0277.79
4.4.40.0100.0407.79
4.4.30.0070.0207.79
4.4.20.0030.0307.79
4.4.10.0000.0237.79
4.4.00.0070.0337.79
4.3.110.0200.0207.79
4.3.100.0230.0237.79
4.3.90.0270.0207.79
4.3.80.0200.0377.79
4.3.70.0200.0307.79
4.3.60.0230.0277.79
4.3.50.0300.0207.79
4.3.40.0270.0437.79
4.3.30.0100.0277.79
4.3.20.0170.0307.79
4.3.10.0170.0207.79
4.3.00.0000.0237.11