3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php eregi("/test/",'test');

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.2.60.0070.00716.84
7.2.00.0030.01318.96
7.1.200.0060.00915.50
7.1.100.0000.01117.57
7.1.70.0030.00716.97
7.1.60.0030.02119.46
7.1.50.0170.01734.48
7.1.00.0100.07022.48
7.0.200.0000.00816.75
7.0.140.0000.07722.21
7.0.60.0070.05320.05
7.0.50.0030.08717.87
7.0.40.0070.07319.96
7.0.30.0230.06320.34
7.0.20.0230.07720.25
7.0.10.0170.07320.09
7.0.00.0000.04720.35
5.6.280.0130.06321.02
5.6.210.0070.07320.70
5.6.200.0070.05318.21
5.6.190.0070.08720.41
5.6.180.0300.06020.34
5.6.170.0270.04320.48
5.6.160.0030.04720.46
5.6.150.0130.06718.07
5.6.140.0030.08018.12
5.6.130.0030.04018.09
5.6.120.0030.04321.14
5.6.110.0070.08021.12
5.6.100.0070.08020.88
5.6.90.0100.06721.07
5.6.80.0200.07020.43
5.5.350.0270.07720.43
5.5.340.0170.04017.93
5.5.330.0030.09020.29
5.5.320.0300.06320.24
5.5.310.0300.07720.24
5.5.300.0100.05717.91
5.5.290.0100.07717.96
5.5.280.0100.04720.86
5.5.270.0100.03720.76
5.5.260.0030.04020.75
5.5.250.0130.06020.65
5.5.240.0030.07720.18
5.4.450.0730.04019.42
5.4.440.0370.04019.38
5.4.430.0800.03319.56
5.4.420.0670.03019.38
5.4.410.0700.03319.35
5.4.400.0630.03319.16
5.4.390.0600.04019.09
5.4.380.0130.05718.52
5.4.370.0230.06018.52
5.4.360.0300.05318.64
5.4.350.0330.06318.52
5.4.340.0500.07018.62
5.4.320.0060.04012.45
5.4.310.0090.04212.45
5.4.300.0040.03712.45
5.4.290.0060.03912.43
5.4.280.0120.07612.33
5.4.270.0060.04012.33
5.4.260.0030.04112.33
5.4.250.0040.04012.33
5.4.240.0090.03512.33
5.4.230.0040.04112.32
5.4.220.0050.03812.32
5.4.210.0030.04212.32
5.4.200.0080.04212.32
5.4.190.0090.04412.32
5.4.180.0170.06312.32
5.4.170.0050.05712.33
5.4.160.0140.06112.33
5.4.150.0050.05112.32
5.4.140.0080.07212.01
5.4.130.0100.06812.00
5.4.120.0060.05211.95
5.4.110.0190.10911.95
5.4.100.0130.05511.95
5.4.90.0060.05511.95
5.4.80.0080.04911.95
5.4.70.0130.04211.95
5.4.60.0100.04811.95
5.4.50.0140.04411.95
5.4.40.0120.04311.93
5.4.30.0070.04211.93
5.4.20.0080.03511.93
5.4.10.0110.04211.93
5.4.00.0120.04611.41
5.3.290.0070.04012.80
5.3.280.0120.04112.71
5.3.270.0070.04212.73
5.3.260.0040.04312.72
5.3.250.0090.04512.72
5.3.240.0160.07712.72
5.3.230.0070.05612.71
5.3.220.0160.07112.68
5.3.210.0170.08412.68
5.3.200.0170.08712.68
5.3.190.0060.05612.67
5.3.180.0120.09312.67
5.3.170.0100.05212.66
5.3.160.0080.05912.67
5.3.150.0110.06212.68
5.3.140.0090.05912.66
5.3.130.0120.06212.66
5.3.120.0080.04712.66
5.3.110.0050.04512.66
5.3.100.0070.04012.12
5.3.90.0070.04412.09
5.3.80.0120.04112.07
5.3.70.0070.04512.08
5.3.60.0070.04212.07
5.3.50.0040.04012.00
5.3.40.0040.04012.00
5.3.30.0020.03811.94
5.3.20.0070.03611.72
5.3.10.0050.03711.69
5.3.00.0050.03911.68
5.2.170.0050.0309.17
5.2.160.0050.0289.18
5.2.150.0040.0319.17
5.2.140.0060.0439.17
5.2.130.0050.0379.13
5.2.120.0040.0409.13
5.2.110.0040.0429.14
5.2.100.0080.0399.14
5.2.90.0080.0399.13
5.2.80.0080.0419.13
5.2.70.0050.0389.13
5.2.60.0050.0329.08
5.2.50.0070.0309.05
5.2.40.0030.0399.03
5.2.30.0070.0279.01
5.2.20.0050.0319.00
5.2.10.0050.0328.91
5.2.00.0040.0418.78
5.1.60.0050.0298.06
5.1.50.0040.0358.05
5.1.40.0040.0258.04
5.1.30.0040.0378.39
5.1.20.0050.0268.41
5.1.10.0020.0388.13
5.1.00.0060.0278.13
5.0.50.0040.0216.61
5.0.40.0020.0216.47
5.0.30.0030.0336.29
5.0.20.0050.0196.26
5.0.10.0060.0266.23
5.0.00.0040.0336.23
4.4.90.0050.0244.77
4.4.80.0040.0224.75
4.4.70.0040.0224.75
4.4.60.0070.0174.75
4.4.50.0070.0264.77
4.4.40.0030.0314.71
4.4.30.0030.0184.75
4.4.20.0060.0194.85
4.4.10.0050.0184.85
4.4.00.0030.0264.76
4.3.110.0050.0234.66
4.3.100.0020.0234.66
4.3.90.0030.0284.63
4.3.80.0050.0314.59
4.3.70.0030.0224.63
4.3.60.0060.0174.62
4.3.50.0070.0194.63
4.3.40.0040.0324.54
4.3.30.0050.0173.27
4.3.20.0010.0223.26
4.3.10.0000.0233.21
4.3.00.0230.03013.17