3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach ([null, PREG_OFFSET_CAPTURE] as $flag) var_dump(preg_match_all('~([a-z])([0-9])~', 'b53d34a32', $flag));

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)
8.3.60.0130.00618.26
8.3.50.0090.01022.00
8.3.40.0070.01118.79
8.3.30.0130.00719.04
8.3.20.0000.00820.20
8.3.10.0080.00023.61
8.3.00.0080.00020.95
8.2.180.0140.00718.58
8.2.170.0040.01122.96
8.2.160.0070.00720.35
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0050.00320.85
8.2.110.0090.00622.20
8.2.100.0090.00617.72
8.2.90.0060.00318.92
8.2.80.0040.00417.97
8.2.70.0060.00317.48
8.2.60.0030.00517.79
8.2.50.0040.00418.07
8.2.40.0000.00819.76
8.2.30.0000.01018.07
8.2.20.0040.00417.70
8.2.10.0040.00417.95
8.2.00.0040.00417.51
8.1.280.0110.00325.92
8.1.270.0040.00424.02
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00023.70
8.1.230.0060.00618.99
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0050.00517.35
8.1.190.0090.00017.13
8.1.180.0040.00418.10
8.1.170.0040.00418.51
8.1.160.0080.00022.01
8.1.150.0110.00018.70
8.1.140.0040.00417.44
8.1.130.0000.00817.83
8.1.120.0040.00417.56
8.1.110.0030.00517.37
8.1.100.0000.00717.52
8.1.90.0070.00017.38
8.1.80.0070.00017.41
8.1.70.0030.00317.46
8.1.60.0040.00417.60
8.1.50.0000.00817.61
8.1.40.0040.00417.42
8.1.30.0060.00317.64
8.1.20.0030.00517.54
8.1.10.0000.00717.43
8.1.00.0020.00517.52
8.0.300.0000.00818.77
8.0.290.0040.00416.88
8.0.280.0030.00318.31
8.0.270.0000.00717.14
8.0.260.0060.00017.14
8.0.250.0030.00317.00
8.0.240.0030.00317.01
8.0.230.0030.00317.02
8.0.220.0070.00016.83
8.0.210.0040.00416.93
8.0.200.0030.00317.00
8.0.190.0070.00017.02
8.0.180.0050.00316.95
8.0.170.0040.00416.95
8.0.160.0000.00717.01
8.0.150.0030.00616.91
8.0.140.0030.00616.84
8.0.130.0060.00013.46
8.0.120.0040.00416.81
8.0.110.0080.00016.88
8.0.100.0030.00416.98
8.0.90.0040.00416.86
8.0.80.0140.00916.97
8.0.70.0040.00416.91
8.0.60.0040.00417.02
8.0.50.0070.00017.00
8.0.30.0120.00617.37
8.0.20.0120.00617.40
8.0.10.0040.00417.07
8.0.00.0130.00417.06
7.4.330.0020.00215.00
7.4.320.0030.00316.56
7.4.300.0030.00316.48
7.4.290.0030.00316.59
7.4.280.0060.00316.47
7.4.270.0000.00716.66
7.4.260.0040.00416.59
7.4.250.0030.00516.64
7.4.240.0030.00316.59
7.4.230.0030.00316.72
7.4.220.0100.01016.71
7.4.210.0070.01416.78
7.4.200.0070.00016.50
7.4.160.0040.01316.55
7.4.150.0150.00317.40
7.4.140.0120.00917.86
7.4.130.0120.00516.48
7.4.120.0080.00916.61
7.4.110.0060.01016.49
7.4.100.0070.01016.63
7.4.90.0100.00716.68
7.4.80.0090.01219.39
7.4.70.0070.01016.54
7.4.60.0140.00616.67
7.4.50.0030.00616.70
7.4.40.0060.00916.25
7.4.30.0130.00616.50
7.4.00.0150.00314.85
7.3.330.0000.00613.20
7.3.320.0050.00013.26
7.3.310.0040.00416.38
7.3.300.0000.00716.41
7.3.290.0070.00716.32
7.3.280.0090.00816.42
7.3.270.0090.00917.40
7.3.260.0090.00816.66
7.3.250.0110.01116.54
7.3.240.0070.01016.28
7.3.230.0110.00616.46
7.3.210.0130.00416.57
7.3.200.0070.01019.39
7.3.190.0120.00616.64
7.3.180.0130.00716.74
7.3.170.0030.01316.73
7.3.160.0090.00616.56
7.3.120.0070.01114.80
7.3.110.0080.00414.73
7.3.100.0120.00414.75
7.3.90.0090.00614.80
7.3.80.0030.01314.98
7.3.70.0140.00014.80
7.3.60.0070.00315.01
7.3.50.0100.00315.10
7.3.40.0080.00814.79
7.3.30.0070.00714.59
7.3.20.0040.00816.96
7.3.10.0040.00816.78
7.3.00.0030.00716.73
7.2.330.0030.01516.63
7.2.320.0140.00316.71
7.2.310.0060.01016.73
7.2.300.0040.01316.67
7.2.290.0110.01116.54
7.2.250.0090.00915.11
7.2.240.0070.01315.13
7.2.230.0000.01815.21
7.2.220.0060.00615.16
7.2.210.0030.00715.19
7.2.200.0070.00715.00
7.2.190.0070.00715.06
7.2.180.0060.00315.20
7.2.170.0070.01115.20
7.2.160.0140.00015.24
7.2.150.0070.00717.18
7.2.140.0070.00417.24
7.2.130.0060.00916.89
7.2.120.0080.00816.79
7.2.110.0000.01116.96
7.2.100.0140.00017.03
7.2.90.0000.01317.13
7.2.80.0060.00616.91
7.2.70.0070.00716.88
7.2.60.0070.00717.02
7.2.50.0100.00616.70
7.2.40.0000.01617.12
7.2.30.0000.01216.65
7.2.20.0100.00616.91
7.2.10.0030.01016.82
7.2.00.0050.00718.17
7.1.330.0070.01015.64
7.1.320.0040.00716.07
7.1.310.0030.00715.86
7.1.300.0070.01015.84
7.1.290.0040.00715.59
7.1.280.0030.00915.98
7.1.270.0060.00815.96
7.1.260.0040.01115.67
7.1.250.0030.00616.11
7.1.100.0160.00418.02
7.1.70.0040.01117.11
7.1.60.0000.02119.70
7.1.50.0070.01716.80
7.1.00.0070.07022.38
7.0.200.0040.00416.89
7.0.140.0030.06322.09
7.0.60.0100.08019.93
7.0.50.0070.05017.87
7.0.40.0130.08020.07
7.0.30.0370.06720.21
7.0.20.0070.04720.14
7.0.10.0130.06020.21
7.0.00.0000.04320.13
5.6.280.0030.07321.11
5.6.210.0000.08320.61
5.6.200.0030.04318.09
5.6.190.0070.08320.33
5.6.180.0100.04020.67
5.6.170.0300.07320.51
5.6.160.0100.06720.54
5.6.150.0100.06018.12
5.6.140.0100.06318.11
5.6.130.0100.07718.16
5.6.120.0070.08020.89
5.6.110.0100.07021.00
5.6.100.0100.08021.13
5.6.90.0070.04021.10
5.6.80.0070.07020.40
5.5.350.0270.07020.43
5.5.340.0030.04018.01
5.5.330.0070.04720.56
5.5.320.0230.06020.31
5.5.310.0330.07020.17
5.5.300.0070.03717.98
5.5.290.0070.08017.92
5.5.280.0070.08320.76
5.5.270.0100.07720.64
5.5.260.0030.09720.79
5.5.250.0030.09020.65
5.5.240.0300.06720.16
5.4.450.0030.04731.21
5.4.440.1000.04719.28
5.4.430.0400.05031.20
5.4.420.0900.04019.27
5.4.410.0230.04731.20
5.4.400.0170.04031.20
5.4.390.0270.03331.20
5.4.380.0400.05718.73
5.4.370.0370.05318.66
5.4.360.0570.05018.69
5.4.350.0530.07318.75
5.4.340.0470.08318.64
5.4.320.0060.03612.46
5.4.310.0080.03812.45
5.4.300.0110.04512.45
5.4.290.0050.04812.45
5.4.280.0070.03412.35
5.4.270.0060.03912.35
5.4.260.0050.04512.35
5.4.250.0080.03612.35
5.4.240.0060.03512.35
5.4.230.0080.03412.34
5.4.220.0040.03712.34
5.4.210.0080.03912.34
5.4.200.0030.04112.34
5.4.190.0040.04012.34
5.4.180.0090.03812.34
5.4.170.0060.03512.35
5.4.160.0020.04112.34
5.4.150.0050.03912.34
5.4.140.0060.03612.02
5.4.130.0050.03612.01
5.4.120.0060.04311.96
5.4.110.0020.03911.96
5.4.100.0070.03411.96
5.4.90.0050.03811.96
5.4.80.0050.03711.97
5.4.70.0070.03311.96
5.4.60.0060.03311.96
5.4.50.0060.03411.96
5.4.40.0050.03411.95
5.4.30.0040.03811.95
5.4.20.0050.04011.95
5.4.10.0050.03611.94
5.4.00.0020.04111.44
5.3.290.0060.04512.80
5.3.280.0050.03712.71
5.3.270.0090.04212.73
5.3.260.0050.04012.72
5.3.250.0070.04612.72
5.3.240.0010.04112.72
5.3.230.0040.03812.70
5.3.220.0070.03512.68
5.3.210.0060.03812.68
5.3.200.0030.04512.68
5.3.190.0070.04012.68
5.3.180.0040.03812.68
5.3.170.0060.03712.67
5.3.160.0070.04012.67
5.3.150.0060.03812.67
5.3.140.0050.03912.66
5.3.130.0030.04212.66
5.3.120.0070.04012.66
5.3.110.0060.03912.66
5.3.100.0080.03712.12
5.3.90.0050.04012.08
5.3.80.0090.03212.07
5.3.70.0040.03812.07
5.3.60.0040.03712.06
5.3.50.0050.03712.00
5.3.40.0060.03912.00
5.3.30.0050.03511.95
5.3.20.0060.03511.73
5.3.10.0050.03511.69
5.3.00.0060.03611.67
5.2.170.0060.0339.18
5.2.160.0070.0329.19
5.2.150.0040.0309.19
5.2.140.0000.0359.18
5.2.130.0050.0309.14
5.2.120.0050.0279.14
5.2.110.0030.0379.15
5.2.100.0070.0279.14
5.2.90.0070.0269.14
5.2.80.0050.0299.13
5.2.70.0070.0319.13
5.2.60.0040.0309.09
5.2.50.0090.0349.06
5.2.40.0050.0299.03
5.2.30.0050.0319.01
5.2.20.0050.0289.00
5.2.10.0040.0288.92
5.2.00.0040.0298.78
5.1.60.0050.0238.07
5.1.50.0020.0278.07
5.1.40.0030.0258.05
5.1.30.0040.0278.39
5.1.20.0030.0288.42
5.1.10.0010.0298.14
5.1.00.0040.0258.15
5.0.50.0020.0226.62
5.0.40.0020.0216.48
5.0.30.0020.0336.29
5.0.20.0050.0186.27
5.0.10.0040.0196.24
5.0.00.0030.0316.23
4.4.90.0030.0144.78
4.4.80.0020.0164.75
4.4.70.0050.0154.75
4.4.60.0010.0164.76
4.4.50.0020.0164.77
4.4.40.0030.0254.70
4.4.30.0030.0154.76
4.4.20.0060.0134.85
4.4.10.0020.0164.85
4.4.00.0020.0254.76
4.3.110.0040.0144.67
4.3.100.0030.0174.66
4.3.90.0020.0174.64
4.3.80.0070.0204.58
4.3.70.0010.0164.63
4.3.60.0060.0164.63
4.3.50.0020.0164.63
4.3.40.0030.0244.54
4.3.30.0020.0163.28
4.3.20.0010.0183.27
4.3.10.0020.0163.22
4.3.00.0030.01732.00

preferences:
72.37 ms | 401 KiB | 5 Q