3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $now = date_create(); usleep(1); var_dump($now == date_create());

Here you find the average performance (time & memory) of each version. A greyed 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.2.20.0150.01418.84
7.2.10.0250.01318.56
7.2.00.0270.01118.42
7.1.140.0160.01217.76
7.1.130.0240.00817.39
7.1.120.0240.00917.30
7.1.110.0290.01016.80
7.1.100.0210.00916.60
7.1.90.0250.00916.69
7.1.80.0240.00816.63
7.1.70.0200.01115.78
7.1.60.0380.01233.66
7.1.50.0310.01033.52
7.1.40.0750.01133.11
7.1.30.0290.01733.12
7.1.20.0320.01133.29
7.1.10.0150.01115.25
7.1.00.0150.00915.33
7.0.270.0220.01017.20
7.0.260.0180.01217.02
7.0.250.0250.00816.38
7.0.240.0220.01116.47
7.0.230.0260.01016.39
7.0.220.0280.01016.27
7.0.210.0210.00915.38
7.0.200.0160.01215.33
7.0.190.0170.00915.27
7.0.180.0180.01114.95
7.0.170.0180.00914.93
7.0.160.0170.00815.02
7.0.150.0170.00814.88
7.0.140.0160.01015.04
7.0.130.0140.01115.29
7.0.120.0140.00915.19
7.0.110.0140.01014.94
7.0.100.0150.01115.01
7.0.90.0110.01215.08
7.0.80.0140.01015.02
7.0.70.0470.01115.00
7.0.60.0100.01114.72
7.0.50.0350.01015.04
7.0.40.0110.01315.21
7.0.30.0120.00815.13
7.0.20.0310.01015.17
7.0.10.0150.01215.08
7.0.00.0130.01115.03
hhvm-3.22.00.1030.21390.27
hhvm-3.21.30.0830.22289.94
hhvm-3.21.00.1010.22689.56
hhvm-3.20.20.1060.22090.23
hhvm-3.19.20.1110.20089.28
hhvm-3.18.50.0830.22488.18
hhvm-3.18.40.1070.24488.02
hhvm-3.17.30.1020.17887.21
hhvm-3.15.40.1010.20485.01
hhvm-3.13.20.0930.22396.36
hhvm-3.12.140.1030.20694.93
hhvm-3.11.10.0950.21287.36
hhvm-3.10.10.1100.22984.18
5.6.300.0140.06620.72
5.6.290.0160.06220.67
5.6.280.0190.06320.82
5.6.270.0150.06320.84
5.6.260.0150.06020.82
5.6.250.0180.06420.84
5.6.240.0140.06720.85
5.6.230.0160.06620.77
5.6.220.0150.06420.82
5.6.210.0220.05420.85
5.6.200.0150.06620.89
5.6.190.0160.06920.85
5.6.180.0140.06320.78
5.6.170.0160.06120.81
5.6.160.0150.06220.76
5.6.150.0180.06820.79
5.6.140.0180.06920.76
5.6.130.0140.06820.76
5.6.120.0160.06920.81
5.6.110.0180.06720.89
5.6.100.0140.07220.82
5.6.90.0140.06520.78
5.6.80.0150.05820.18
5.6.70.0150.06320.19
5.6.60.0140.06620.25
5.6.50.0130.06120.19
5.6.40.0170.05520.12
5.6.30.0170.05420.14
5.6.20.0110.06220.16
5.6.10.0230.05420.19
5.6.00.0130.06220.14
5.5.380.0140.05717.47
5.5.370.0120.06817.44
5.5.360.0120.06417.42
5.5.350.0130.05617.48
5.5.340.0140.06018.01
5.5.330.0160.06217.88
5.5.320.0120.06218.00
5.5.310.0150.06217.90
5.5.300.0170.06917.88
5.5.290.0180.06717.93
5.5.280.0130.07317.84
5.5.270.0150.07017.93
5.5.260.0190.06417.97
5.5.250.0180.06217.63
5.5.240.0130.06217.31
5.5.230.0170.06117.27
5.5.220.0140.06117.23
5.5.210.0110.06117.29
5.5.200.0180.05417.29
5.5.190.0090.06117.23
5.5.180.0070.07017.34
5.5.160.0130.05817.29
5.5.150.0150.05517.29
5.5.140.0120.05417.23
5.5.130.0130.05617.25
5.5.120.0110.05817.13
5.5.110.0120.05617.20
5.5.100.0110.06217.22
5.5.90.0130.05717.26
5.5.80.0140.05817.12
5.5.70.0130.05817.20
5.5.60.0090.06017.13
5.5.50.0070.06017.06
5.5.40.0110.05717.21
5.5.30.0160.06717.15
5.5.20.0200.06117.25
5.5.10.0120.06417.12
5.5.00.0120.06017.02
5.4.450.0150.06719.14
5.4.440.0160.07119.29
5.4.430.0160.06919.22
5.4.420.0100.05919.25
5.4.410.0170.06319.16
5.4.400.0180.05918.96
5.4.390.0180.06118.91
5.4.380.0140.05819.05
5.4.370.0110.05918.96
5.4.360.0110.06518.90
5.4.350.0090.06518.90
5.4.340.0130.05818.99
5.4.320.0090.06318.99
5.4.310.0140.05718.96
5.4.300.0120.06018.91
5.4.290.0150.05618.87
5.4.280.0120.06118.91
5.4.270.0150.05619.04
5.4.260.0140.05618.97
5.4.250.0100.06118.90
5.4.240.0170.05418.96
5.4.230.0160.05418.92
5.4.220.0120.05618.88
5.4.210.0110.06318.94
5.4.200.0150.06218.95
5.4.190.0160.05819.04
5.4.180.0130.05918.83
5.4.170.0100.05818.97
5.4.160.0130.05418.88
5.4.150.0130.06319.01
5.4.140.0120.06416.51
5.4.130.0090.05616.56
5.4.120.0110.06016.49
5.4.110.0100.05316.46
5.4.100.0120.05216.53
5.4.90.0090.05616.48
5.4.80.0090.05216.47
5.4.70.0110.05416.54
5.4.60.0110.05416.33
5.4.50.0110.05216.35
5.4.40.0130.05216.41
5.4.30.0120.05216.49
5.4.20.0130.05216.45
5.4.10.0110.05816.50
5.4.00.0130.05015.88
5.3.290.0140.05714.76
5.3.280.0120.05414.65
5.3.270.0090.06114.67
5.3.260.0120.06214.68
5.3.250.0150.05914.73
5.3.240.0140.05214.64
5.3.230.0130.05714.62
5.3.220.0110.05614.70
5.3.210.0130.05814.69
5.3.200.0120.05614.54
5.3.190.0100.06014.52
5.3.180.0120.05914.68
5.3.170.0170.04914.54
5.3.160.0120.05514.62
5.3.150.0130.05714.58
5.3.140.0150.05614.63
5.3.130.0160.05414.67
5.3.120.0130.05414.55
5.3.110.0110.06214.55
5.3.100.0090.05614.11
5.3.90.0070.06014.07
5.3.80.0140.05114.06
5.3.70.0140.04914.03
5.3.60.0120.05114.04
5.3.50.0150.05614.08
5.3.40.0080.05613.99
5.3.30.0120.04813.90
5.3.20.0120.05113.81
5.3.10.0090.05113.67
5.3.00.0150.04913.70
5.2.170.0100.04511.30
5.2.160.0080.04511.17
5.2.150.0070.04511.10
5.2.140.0040.04911.28
5.2.130.0090.04211.11
5.2.120.0080.04211.16
5.2.110.0120.03711.10
5.2.100.0150.04011.15
5.2.90.0110.04411.16
5.2.80.0060.04611.10
5.2.70.0160.03911.22
5.2.60.0090.04511.13
5.2.50.0080.04611.09
5.2.40.0070.04511.11
5.2.30.0100.04010.99
5.2.20.0060.04211.04
5.2.10.0110.04111.00
5.2.00.0040.04610.83
5.1.60.0090.03610.15
5.1.50.0110.03310.06
5.1.40.0070.04110.16
5.1.30.0090.03710.43
5.1.20.0090.04210.56
5.1.10.0070.03910.27
5.1.00.0080.04310.16
5.0.50.0080.0359.17
5.0.40.0080.0309.17
5.0.30.0070.0439.17
5.0.20.0080.0249.17
5.0.10.0050.0329.17
5.0.00.0080.0439.17
4.4.90.0050.0239.17
4.4.80.0050.0249.17
4.4.70.0050.0239.17
4.4.60.0070.0219.17
4.4.50.0050.0249.17
4.4.40.0040.0389.17
4.4.30.0030.0269.17
4.4.20.0030.0269.17
4.4.10.0060.0269.17
4.4.00.0060.0389.17
4.3.110.0040.0249.17
4.3.100.0040.0239.17
4.3.90.0060.0229.17
4.3.80.0060.0359.17
4.3.70.0040.0229.17
4.3.60.0070.0209.17
4.3.50.0040.0239.17
4.3.40.0070.0309.17
4.3.30.0020.0269.17
4.3.20.0040.0229.17
4.3.10.0020.0249.17
4.3.00.0030.0229.17