3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "There four of them. These are: 1 The first one. Its is the most common. 2 The second one. 3 The third one. 4 This is the last."; preg_match_all("/\d+([^\d]+)/", $string, $matches); print_r($matches[1]);

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.5.30.0120.00520.27
8.5.20.0080.00820.04
8.5.10.0090.00919.91
8.5.00.0120.00921.77
8.4.180.0140.00819.79
8.4.170.0160.00823.79
8.4.160.0140.00723.72
8.4.150.0090.00416.91
8.4.140.0120.00917.88
8.4.130.0130.00917.70
8.4.120.0140.00622.30
8.4.110.0090.00220.70
8.4.100.0140.00817.82
8.4.90.0150.00520.45
8.4.80.0050.00420.70
8.4.70.0060.00819.16
8.4.60.0080.01320.61
8.4.50.0090.01222.16
8.4.40.0090.00019.39
8.4.30.0100.01017.86
8.4.20.0060.01517.88
8.4.10.0030.00619.50
8.3.300.0130.00720.76
8.3.290.0110.01218.64
8.3.280.0080.01218.51
8.3.270.0130.00716.77
8.3.260.0100.00916.69
8.3.250.0030.00620.62
8.3.240.0120.00816.67
8.3.230.0110.00716.80
8.3.220.0120.00620.74
8.3.210.0040.00416.57
8.3.200.0040.00516.73
8.3.190.0070.01217.04
8.3.180.0070.01118.88
8.3.170.0190.00017.31
8.3.160.0120.00618.74
8.3.150.0070.01117.21
8.3.140.0090.00020.79
8.3.130.0030.00618.59
8.3.120.0000.00818.82
8.3.110.0030.00620.94
8.3.100.0050.00524.06
8.3.90.0100.00026.77
8.3.80.0090.00017.97
8.3.70.0130.00318.43
8.3.60.0120.00316.63
8.3.50.0170.00322.05
8.3.40.0070.00718.80
8.3.30.0120.00318.86
8.3.20.0090.00020.31
8.3.10.0070.00021.90
8.3.00.0040.00421.89
8.2.300.0090.01318.36
8.2.290.0110.00816.95
8.2.280.0060.00418.64
8.2.270.0060.01216.91
8.2.260.0090.00917.07
8.2.250.0140.00016.77
8.2.240.0030.00619.07
8.2.230.0040.00422.58
8.2.220.0030.00637.54
8.2.210.0050.00326.77
8.2.200.0100.00018.66
8.2.190.0110.00416.75
8.2.180.0090.00916.75
8.2.170.0070.01022.96
8.2.160.0100.00322.24
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00419.88
8.2.120.0080.00026.35
8.2.110.0070.00322.43
8.2.100.0080.00318.03
8.2.90.0050.00318.22
8.2.80.0040.00417.97
8.2.70.0030.00518.04
8.2.60.0060.00317.93
8.2.50.0050.00318.10
8.2.40.0070.00020.59
8.2.30.0050.00520.94
8.2.20.0040.00417.99
8.2.10.0020.00517.89
8.2.00.0030.00617.77
8.1.340.0130.00819.88
8.1.330.0100.00915.90
8.1.320.0090.01116.39
8.1.310.0070.01117.00
8.1.300.0030.00618.02
8.1.290.0090.00030.84
8.1.280.0070.00725.92
8.1.270.0050.00321.97
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0080.00021.91
8.1.230.0080.00422.82
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.48
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0040.00418.67
8.1.160.0000.00724.00
8.1.150.0040.00422.12
8.1.140.0040.00419.57
8.1.130.0030.00317.74
8.1.120.0040.00317.52
8.1.110.0000.00817.45
8.1.100.0040.00417.52
8.1.90.0000.00717.55
8.1.80.0070.00017.55
8.1.70.0040.00417.48
8.1.60.0040.00417.70
8.1.50.0040.00417.44
8.1.40.0030.00517.60
8.1.30.0030.00517.76
8.1.20.0000.00817.76
8.1.10.0090.00017.68
8.1.00.0030.00617.65
8.0.300.0040.00419.60
8.0.290.0070.00016.75
8.0.280.0080.00018.41
8.0.270.0080.00017.13
8.0.260.0030.00317.21
8.0.250.0000.00816.93
8.0.240.0000.00716.89
8.0.230.0030.00317.04
8.0.220.0070.00016.90
8.0.210.0000.00716.86
8.0.200.0000.01017.03
8.0.190.0000.00716.92
8.0.180.0090.00316.98
8.0.170.0000.00716.98
8.0.160.0000.00716.98
8.0.150.0040.00416.83
8.0.140.0040.00416.80
8.0.130.0000.00613.36
8.0.120.0040.00416.96
8.0.110.0000.00716.98
8.0.100.0040.00416.91
8.0.90.0030.00616.95
8.0.80.0090.00917.02
8.0.70.0040.00416.90
8.0.60.0000.00716.92
8.0.50.0080.00016.95
8.0.30.0060.01217.01
8.0.20.0060.01317.40
8.0.10.0070.00016.93
8.0.00.0090.00916.99
7.4.330.0000.00615.55
7.4.320.0000.00716.79
7.4.300.0000.00616.56
7.4.290.0000.00716.56
7.4.280.0040.00416.64
7.4.270.0070.00016.64
7.4.260.0030.00316.63
7.4.250.0000.00916.72
7.4.240.0040.00416.66
7.4.230.0040.00316.72
7.4.220.0180.00316.79
7.4.210.0070.00716.65
7.4.200.0030.00316.68
7.4.160.0040.01416.68
7.4.150.0140.01017.40
7.4.140.0100.00717.86
7.4.130.0080.01016.62
7.4.120.0110.00616.68
7.4.110.0060.01216.48
7.4.100.0070.01416.45
7.4.90.0070.01116.63
7.4.80.0210.01519.39
7.4.70.0060.01116.69
7.4.60.0100.00616.67
7.4.50.0000.01516.57
7.4.40.0080.00816.59
7.4.30.0090.00616.55
7.4.10.0090.00914.88
7.4.00.0070.00915.23
7.3.330.0060.00013.09
7.3.320.0000.00513.22
7.3.310.0020.00516.42
7.3.300.0000.00716.26
7.3.290.0040.01016.41
7.3.280.0080.01016.38
7.3.270.0030.01317.40
7.3.260.0100.01016.67
7.3.250.0090.00916.56
7.3.240.0090.01316.48
7.3.230.0170.00016.42
7.3.210.0130.00416.62
7.3.200.0080.00816.50
7.3.190.0150.00316.82
7.3.180.0120.00416.48
7.3.170.0090.00616.45
7.3.160.0150.00316.52
7.3.130.0070.01014.89
7.3.120.0050.01314.86
7.3.110.0090.00914.99
7.3.100.0020.01214.95
7.3.90.0050.00914.72
7.3.80.0020.00914.92
7.3.70.0110.00614.75
7.3.60.0030.01014.82
7.3.50.0040.00714.62
7.3.40.0060.00514.96
7.3.30.0070.00714.98
7.3.20.0070.01016.71
7.3.10.0090.00616.72
7.3.00.0070.00416.86
7.2.330.0070.01016.81
7.2.320.0120.01216.57
7.2.310.0090.01216.80
7.2.300.0100.00716.66
7.2.290.0120.00616.55
7.2.260.0000.02015.20
7.2.250.0030.01314.94
7.2.240.0030.01415.15
7.2.230.0050.00915.01
7.2.220.0080.00915.07
7.2.210.0050.01115.12
7.2.200.0050.01215.04
7.2.190.0060.00814.96
7.2.180.0020.01115.04
7.2.170.0050.01015.18
7.2.160.0040.01214.80
7.2.150.0050.00517.04
7.2.140.0110.00417.05
7.2.130.0030.01017.02
7.2.120.0030.00716.92
7.2.110.0090.00616.92
7.2.100.0040.01217.07
7.2.90.0030.00616.89
7.2.80.0030.01016.72
7.2.70.0070.00717.07
7.2.60.0050.00817.07
7.2.50.0030.00917.03
7.2.40.0070.01017.13
7.2.30.0070.00416.95
7.2.20.0070.00716.88
7.2.10.0030.01317.00
7.2.00.0000.01016.96
7.1.330.0060.00915.88
7.1.320.0080.00816.17
7.1.310.0040.00715.91
7.1.300.0030.00916.03
7.1.290.0030.01016.09
7.1.280.0050.00515.95
7.1.270.0030.01215.73
7.1.260.0070.00516.11
7.1.250.0090.00015.97
7.1.240.0100.00715.91
7.1.230.0100.00315.86
7.1.220.0030.01015.80
7.1.210.0060.00315.84
7.1.200.0070.00715.87
7.1.190.0040.01115.88
7.1.180.0080.00416.04
7.1.170.0080.00315.87
7.1.160.0040.01115.84
7.1.150.0040.00415.96
7.1.140.0090.00615.91
7.1.130.0070.00715.88
7.1.120.0120.00016.03
7.1.110.0040.00415.80
7.1.100.0030.00615.95
7.1.90.0110.00415.73
7.1.80.0000.01416.00
7.1.70.0080.00116.59
7.1.60.0060.00416.77
7.1.50.0040.01716.57
7.1.40.0050.01016.42
7.1.30.0040.01116.47
7.1.20.0050.00716.26
7.1.10.0030.01116.37
7.1.00.0090.00316.26
7.0.330.0060.00615.47
7.0.320.0060.00315.27
7.0.310.0130.00315.59
7.0.300.0070.00715.58
7.0.290.0080.00815.52
7.0.280.0000.00815.46
7.0.270.0100.00315.58
7.0.260.0000.01415.32
7.0.250.0060.00615.63
7.0.240.0080.00315.57
7.0.230.0060.00615.76
7.0.220.0040.01115.38
7.0.210.0030.00515.55
7.0.200.0070.00616.04
7.0.190.0080.00516.23
7.0.180.0030.00815.96
7.0.170.0080.00716.01
7.0.160.0020.00916.01
7.0.150.0050.00715.87
7.0.140.0080.00416.00
7.0.130.0050.00716.16
7.0.120.0100.00116.02
7.0.110.0030.00915.91
7.0.100.0030.00815.98
7.0.90.0030.00916.15
7.0.80.0030.00715.98
7.0.70.0040.00816.10
7.0.60.0040.00715.84
7.0.50.0040.00916.10
7.0.40.0040.00614.11
7.0.30.0050.00714.09
7.0.20.0040.00914.09
7.0.10.0000.01014.00
7.0.00.0030.00713.95
5.6.400.0110.00313.97
5.6.390.0100.00714.39
5.6.380.0000.01514.13
5.6.370.0070.01014.55
5.6.360.0120.00014.56
5.6.350.0040.00414.59
5.6.340.0040.00814.24
5.6.330.0060.00314.48
5.6.320.0000.01214.29
5.6.310.0060.00314.30
5.6.300.0030.02817.63
5.6.290.0080.02417.68
5.6.280.0020.03117.67
5.6.270.0030.02617.57
5.6.260.0030.03017.78
5.6.250.0030.02617.59
5.6.240.0020.03017.76
5.6.230.0050.02617.58
5.6.220.0070.02317.51
5.6.210.0030.02717.71
5.6.200.0060.02417.80
5.6.190.0000.02817.65
5.6.180.0060.02517.80
5.6.170.0030.02417.72
5.6.160.0080.02317.50
5.6.150.0050.02917.63
5.6.140.0070.02417.58
5.6.130.0070.02117.65
5.6.120.0030.02717.54
5.6.110.0060.02517.69
5.6.100.0020.02917.73
5.6.90.0030.02617.58
5.6.80.0040.02617.25
5.6.70.0050.02417.12
5.6.60.0050.02017.29
5.6.50.0030.03517.29
5.6.40.0040.02817.34
5.6.30.0040.02817.30
5.6.20.0050.02617.26
5.6.10.0050.02317.25
5.6.00.0070.02417.33

preferences:
116.7 ms | 1988 KiB | 5 Q