3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match( '/^\(\d+)\]/', '[#1234] Subject', $matches); echo $matches[1]; // 1234

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.0150.00318.12
8.3.50.0120.00821.98
8.3.40.0090.00918.82
8.3.30.0100.00320.30
8.3.20.0070.00020.38
8.3.10.0000.00821.92
8.3.00.0080.00022.52
8.2.180.0050.01418.39
8.2.170.0070.01122.96
8.2.160.0080.00522.07
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0070.01126.16
8.2.120.0040.00419.54
8.2.110.0100.00022.20
8.2.100.0030.00717.64
8.2.90.0000.00918.03
8.2.80.0040.00417.97
8.2.70.0030.00717.63
8.2.60.0050.00318.03
8.2.50.0070.00318.07
8.2.40.0040.00418.28
8.2.30.0030.00518.07
8.2.20.0000.00717.77
8.2.10.0050.00217.70
8.2.00.0000.01117.67
8.1.280.0110.00425.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.34
8.1.230.0040.00720.89
8.1.220.0060.00317.74
8.1.210.0050.00318.85
8.1.200.0100.00317.10
8.1.190.0040.00417.10
8.1.180.0030.00618.10
8.1.170.0030.00518.60
8.1.160.0000.00821.94
8.1.150.0040.00418.55
8.1.140.0000.00717.20
8.1.130.0000.00717.88
8.1.120.0040.00417.37
8.1.110.0000.00717.34
8.1.100.0040.00317.21
8.1.90.0000.00717.32
8.1.80.0040.00417.25
8.1.70.0030.00517.27
8.1.60.0000.00917.46
8.1.50.0000.00717.35
8.1.40.0030.00517.31
8.1.30.0020.00517.43
8.1.20.0040.00417.50
8.1.10.0040.00417.54
8.1.00.0050.00217.41
8.0.300.0000.00719.90
8.0.290.0000.00816.88
8.0.280.0030.00318.40
8.0.270.0030.00317.12
8.0.260.0030.00316.89
8.0.250.0000.00716.98
8.0.240.0040.00416.77
8.0.230.0000.00816.82
8.0.220.0030.00316.73
8.0.210.0040.00416.71
8.0.200.0030.00316.87
8.0.190.0070.00016.78
8.0.180.0040.00416.86
8.0.170.0070.00016.84
8.0.160.0000.00716.78
8.0.150.0040.00416.75
8.0.140.0000.00816.68
8.0.130.0050.00013.27
8.0.120.0080.00016.77
8.0.110.0050.00216.84
8.0.100.0040.00416.85
8.0.90.0040.00416.88
8.0.80.0100.00616.81
8.0.70.0040.00416.72
8.0.60.0040.00416.78
8.0.50.0040.00416.71
8.0.30.0100.00916.97
8.0.20.0090.00917.40
8.0.10.0040.00416.91
8.0.00.0120.00616.75
7.4.330.0050.00015.00
7.4.320.0030.00316.44
7.4.300.0000.00616.54
7.4.290.0000.00716.53
7.4.280.0000.00716.55
7.4.270.0030.00316.56
7.4.260.0040.00416.45
7.4.250.0000.00816.41
7.4.240.0050.00216.49
7.4.230.0000.00716.47
7.4.220.0160.01016.60
7.4.210.0090.00616.54
7.4.200.0030.00316.55
7.4.190.0030.00316.55
7.4.160.0090.00616.39
7.4.150.0140.00417.40
7.4.140.0120.00717.86
7.4.130.0100.00816.41
7.4.120.0080.00916.41
7.4.110.0100.00716.48
7.4.100.0070.01616.49
7.4.90.0090.01416.42
7.4.80.0150.01119.39
7.4.70.0060.01116.41
7.4.60.0060.01516.42
7.4.50.0040.00416.21
7.4.40.0030.01322.77
7.4.30.0140.00316.55
7.4.10.0070.01114.95
7.4.00.0100.00815.00
7.3.330.0060.00013.21
7.3.320.0070.00013.25
7.3.310.0030.00516.19
7.3.300.0060.00016.24
7.3.290.0100.00316.36
7.3.280.0080.00616.34
7.3.270.0130.00317.40
7.3.260.0000.01716.30
7.3.250.0080.01216.32
7.3.240.0150.00416.46
7.3.230.0060.00916.39
7.3.210.0100.00716.43
7.3.200.0000.01819.39
7.3.190.0170.00616.23
7.3.180.0080.00716.36
7.3.170.0060.00916.68
7.3.160.0100.01016.36
7.3.130.0090.00915.20
7.3.120.0040.01214.99
7.3.110.0100.00614.98
7.3.100.0030.01014.79
7.3.90.0100.00814.91
7.3.80.0050.00814.88
7.3.70.0040.00714.96
7.3.60.0040.00814.58
7.3.50.0060.00714.63
7.3.40.0050.01014.66
7.3.30.0030.00914.66
7.3.20.0100.00216.42
7.3.10.0020.01316.43
7.3.00.0040.00816.53
7.2.330.0150.00616.56
7.2.320.0070.01016.67
7.2.310.0100.00716.48
7.2.300.0100.01016.45
7.2.290.0110.00616.49
7.2.260.0140.00714.69
7.2.250.0060.01015.05
7.2.240.0050.00915.10
7.2.230.0020.01514.99
7.2.220.0100.00514.77
7.2.210.0070.00714.91
7.2.200.0070.00615.02
7.2.190.0050.00915.12
7.2.180.0060.00814.88
7.2.170.0040.00914.92
7.2.160.0050.00815.07
7.2.150.0080.00416.81
7.2.140.0030.01016.78
7.2.130.0060.00616.82
7.2.120.0070.00916.85
7.2.110.0060.01016.70
7.2.100.0070.00616.77
7.2.90.0070.00916.86
7.2.80.0080.00816.68
7.2.70.0080.00516.73
7.2.60.0040.01016.91
7.2.50.0080.00516.85
7.2.40.0080.00816.90
7.2.30.0070.01016.83
7.2.20.0100.00616.92
7.2.10.0030.00916.86
7.2.00.0040.01117.47
7.1.330.0080.00715.82
7.1.320.0060.00815.74
7.1.310.0060.00615.91
7.1.300.0080.00515.73
7.1.290.0020.01115.74
7.1.280.0040.00615.87
7.1.270.0060.00515.83
7.1.260.0060.00615.71
7.1.250.0040.01215.72
7.1.240.0000.01615.84
7.1.230.0100.00315.92
7.1.220.0000.01116.03
7.1.210.0060.00315.92
7.1.200.0060.00715.88
7.1.190.0080.00815.72
7.1.180.0110.00315.63
7.1.170.0110.00415.76
7.1.160.0060.00315.74
7.1.150.0070.00715.80
7.1.140.0000.01215.72
7.1.130.0030.01015.94
7.1.120.0090.00015.87
7.1.110.0040.01415.77
7.1.100.0080.00917.02
7.1.90.0100.00715.96
7.1.80.0090.00315.83
7.1.70.0030.01016.73
7.1.60.0020.01517.70
7.1.50.0050.01416.44
7.1.40.0000.01015.80
7.1.30.0040.00715.82
7.1.20.0060.00315.60
7.1.10.0090.00615.55
7.1.00.0030.02519.05
7.0.330.0000.01815.34
7.0.320.0040.00715.24
7.0.310.0090.00615.45
7.0.300.0070.00315.29
7.0.290.0050.00515.56
7.0.280.0060.00615.22
7.0.270.0040.01115.34
7.0.260.0110.00015.51
7.0.250.0090.00615.26
7.0.240.0060.01215.21
7.0.230.0030.01015.46
7.0.220.0000.00915.39
7.0.210.0000.01015.58
7.0.200.0030.00516.23
7.0.190.0040.01115.28
7.0.180.0040.00415.44
7.0.170.0030.00615.59
7.0.160.0060.00915.16
7.0.150.0070.00715.36
7.0.140.0120.03518.68
7.0.130.0000.00815.47
7.0.120.0070.00315.51
7.0.110.0120.00015.17
7.0.100.0030.01015.56
7.0.90.0050.00315.59
7.0.80.0040.00915.31
7.0.70.0050.00315.46
7.0.60.0040.03017.60
7.0.50.0030.02716.77
7.0.40.0070.03016.89
7.0.30.0240.01816.83
7.0.20.0140.02316.87
7.0.10.0110.04516.85
7.0.00.0040.03216.92
5.6.400.0030.00714.23
5.6.390.0100.01014.36
5.6.380.0100.00314.35
5.6.370.0060.00913.96
5.6.360.0030.00913.96
5.6.350.0040.00813.99
5.6.340.0080.00314.30
5.6.330.0070.00714.65
5.6.320.0030.01014.34
5.6.310.0090.00314.59
5.6.300.0080.00514.48
5.6.290.0040.00714.34
5.6.280.0070.03717.78
5.6.270.0070.00714.21
5.6.260.0070.00314.24
5.6.250.0030.00614.48
5.6.240.0060.00614.03
5.6.230.0040.01114.24
5.6.220.0030.01014.15
5.6.210.0100.04217.45
5.6.200.0070.04216.30
5.6.190.0100.03817.36
5.6.180.0180.02317.26
5.6.170.0170.02717.44
5.6.160.0050.04717.51
5.6.150.0110.04216.38
5.6.140.0030.02516.17
5.6.130.0100.04116.29
5.6.120.0080.02317.64
5.6.110.0070.03917.67
5.6.100.0150.03817.80
5.6.90.0030.04617.63
5.6.80.0040.02917.23
5.6.70.0040.00414.16
5.6.60.0040.01114.32
5.6.50.0060.00914.39
5.6.40.0090.00014.23
5.6.30.0060.00614.18
5.6.20.0120.00314.03
5.6.10.0090.00914.24
5.6.00.0130.00314.15
5.5.380.0040.00813.96
5.5.370.0030.00714.32
5.5.360.0040.00814.47
5.5.350.1970.02717.26
5.5.340.0090.03515.95
5.5.330.0100.04217.13
5.5.320.0030.04317.18
5.5.310.0200.03817.20
5.5.300.0050.02716.09
5.5.290.0090.04015.94
5.5.280.0060.04317.43
5.5.270.0070.04017.41
5.5.260.0070.02017.61
5.5.250.0070.03717.37
5.5.240.0100.04317.22
5.5.230.0100.00314.48
5.5.220.0040.00413.96
5.5.210.0080.00614.23
5.5.200.0070.00314.27
5.5.190.0070.00713.83
5.5.180.0040.01114.00
5.5.170.0080.00814.04
5.5.160.0070.00714.01
5.5.150.0070.00714.43
5.5.140.0060.00913.90
5.5.130.0080.00813.95
5.5.120.0070.00714.14
5.5.110.0040.00414.26
5.5.100.0080.00814.32
5.5.90.0030.01014.35
5.5.80.0030.01013.88
5.5.70.0070.00414.05
5.5.60.0000.01514.39
5.5.50.0070.00714.04
5.5.40.0040.00714.28
5.5.30.0030.01214.19
5.5.20.0060.00913.77
5.5.10.0090.00614.18
5.5.00.0070.00713.95
5.4.450.2070.02516.16
5.4.440.0020.04516.13
5.4.430.1780.02516.05
5.4.420.1540.02016.15
5.4.410.1950.01815.94
5.4.400.2170.02115.89
5.4.390.1710.01815.91
5.4.380.2150.02115.99
5.4.370.1770.02116.02
5.4.360.1670.02416.06
5.4.350.1770.02316.00
5.4.340.1820.02316.00
5.4.330.0080.00812.90
5.4.320.1830.02115.84
5.4.310.1750.02615.85
5.4.300.1820.02515.89
5.4.290.1730.02215.99
5.4.280.1810.02415.99
5.4.270.1680.02015.99
5.4.260.1810.02316.00
5.4.250.1750.02215.97
5.4.240.1680.02416.03
5.4.230.1720.02115.84
5.4.220.1770.02415.90
5.4.210.1780.02216.00
5.4.200.1810.02115.99
5.4.190.1940.02115.91
5.4.180.1690.02115.86
5.4.170.1800.02016.03
5.4.160.1820.01816.02
5.4.150.1800.02016.03
5.4.140.1680.01314.58
5.4.130.1740.01914.59
5.4.120.1720.01714.63
5.4.110.1870.02514.64
5.4.100.1880.01614.60
5.4.90.1750.02014.68
5.4.80.1800.02214.62
5.4.70.1730.02314.66
5.4.60.1820.02214.59
5.4.50.1830.01814.63
5.4.40.1910.01914.65
5.4.30.1600.02314.54
5.4.20.2130.02114.63
5.4.10.2020.02214.68
5.4.00.1670.01814.29
5.3.290.1850.02213.80
5.3.280.1320.02513.68
5.3.270.1730.02013.67
5.3.260.1610.02213.73
5.3.250.1830.02113.72
5.3.240.1830.02013.79
5.3.230.1730.01813.71
5.3.220.1870.02613.66
5.3.210.1830.02213.65
5.3.200.1670.02313.76
5.3.190.1730.02213.75
5.3.180.1730.02613.72
5.3.170.1780.02313.72
5.3.160.1820.01813.65
5.3.150.1730.02313.71
5.3.140.1830.02013.72
5.3.130.1930.02113.64
5.3.120.1820.02513.66
5.3.110.1850.02813.65
5.3.100.1800.02513.48
5.3.90.1850.01513.44
5.3.80.1670.02213.45
5.3.70.1870.02013.38
5.3.60.1650.02313.41
5.3.50.1930.01813.38
5.3.40.1720.01813.39
5.3.30.1780.01513.33
5.3.20.1870.02713.21
5.3.10.1820.01813.25
5.3.00.0380.01813.28
5.2.170.3700.03311.00
5.2.160.3030.03311.05
5.2.150.3000.02711.08
5.2.140.2970.03311.23
5.2.130.2800.03310.96
5.2.120.3070.02311.12
5.2.110.2770.02711.25
5.2.100.0030.04711.25
5.2.90.0000.03311.04
5.2.80.0070.06010.93
5.2.70.2000.01711.10
5.2.60.3300.03010.92
5.2.50.3030.02310.91
5.2.40.2300.02311.08
5.2.30.2530.03311.02
5.2.20.2530.02310.89
5.2.10.2500.03010.82
5.2.00.2470.03310.64
5.1.60.2500.02310.00
5.1.50.2200.0279.85
5.1.40.2400.0309.88
5.1.30.2470.02710.28
5.1.20.2330.03010.24
5.1.10.2770.0279.98
5.1.00.2630.02310.04
5.0.50.1700.0238.47
5.0.40.1400.0178.38
5.0.30.1600.0308.14
5.0.20.1570.0208.21
5.0.10.1700.0138.09
5.0.00.1700.0308.06
4.4.90.1170.0175.96
4.4.80.1370.0205.96
4.4.70.1130.0205.96
4.4.60.1370.0175.96
4.4.50.1470.0205.96
4.4.40.1170.0205.96
4.4.30.1130.0135.96
4.4.20.1100.0175.96
4.4.10.1570.0175.96
4.4.00.1470.0235.96
4.3.110.1300.0175.96
4.3.100.1670.0175.96
4.3.90.1600.0175.96
4.3.80.1230.0205.96
4.3.70.0030.0175.96
4.3.60.0000.0235.96
4.3.50.0000.0235.96
4.3.40.0000.0305.96
4.3.30.0000.0175.96
4.3.20.0000.0175.96
4.3.10.0000.0175.96
4.3.00.0100.0175.96

preferences:
38 ms | 401 KiB | 5 Q