3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = <<< END sjbasukbgksdyugaksdfygkasgkasgbaksbgkxbcmahsbg;adfhblzsuglu01 02 03 04 05 06 07 08 09 10 11 12 13 14suighsuighsdasjdgb ahioguhaughauisdfghiuhab ba 1a 2f 3c 2a 1d 35 32 12 34 78 90 11aklsughaiugaiougdfh rguh00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 END; preg_match_all('/(([a-f0-9]{2} ){27}|([a-f0-9]{2} ){13})[a-f0-9]{2}/i', $input, $matches); var_dump($matches);

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.70.0140.00718.43
8.3.60.0140.00716.63
8.3.50.0100.01222.08
8.3.40.0040.01518.95
8.3.30.0070.00718.92
8.3.20.0080.00020.39
8.3.10.0050.00321.70
8.3.00.0030.00619.35
8.2.180.0110.00718.41
8.2.170.0120.00322.96
8.2.160.0070.00722.21
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.38
8.2.110.0070.00322.37
8.2.100.0090.00317.72
8.2.90.0000.00817.88
8.2.80.0040.00419.09
8.2.70.0000.00817.93
8.2.60.0060.00617.90
8.2.50.0000.00918.10
8.2.40.0040.00420.65
8.2.30.0020.00518.03
8.2.20.0000.00817.84
8.2.10.0000.00718.03
8.2.00.0040.00417.80
8.1.280.0100.00725.92
8.1.270.0080.00020.50
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00323.79
8.1.230.0090.00319.16
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00917.34
8.1.190.0060.00317.23
8.1.180.0030.00518.10
8.1.170.0000.00918.69
8.1.160.0000.00721.98
8.1.150.0040.00418.82
8.1.140.0040.00417.59
8.1.130.0070.00017.87
8.1.120.0070.00017.45
8.1.110.0000.00717.44
8.1.100.0000.00817.45
8.1.90.0000.00717.60
8.1.80.0030.00617.46
8.1.70.0000.00717.56
8.1.60.0030.00617.61
8.1.50.0000.00817.55
8.1.40.0060.00317.44
8.1.30.0050.00317.64
8.1.20.0030.00517.71
8.1.10.0000.00817.51
8.1.00.0020.00517.55
8.0.300.0060.00319.77
8.0.290.0060.00316.88
8.0.280.0040.00418.47
8.0.270.0070.00017.28
8.0.260.0000.00717.22
8.0.250.0000.00717.06
8.0.240.0000.00617.09
8.0.230.0000.00817.09
8.0.220.0030.00317.03
8.0.210.0000.00816.91
8.0.200.0000.00617.15
8.0.190.0040.00417.08
8.0.180.0070.00017.02
8.0.170.0000.00716.99
8.0.160.0000.00917.09
8.0.150.0070.00017.09
8.0.140.0000.00717.01
8.0.130.0030.00313.47
8.0.120.0000.00817.07
8.0.110.0050.00317.02
8.0.100.0050.00316.91
8.0.90.0040.00417.00
8.0.80.0070.01017.11
8.0.70.0000.00716.90
8.0.60.0050.00216.96
8.0.50.0040.00416.99
8.0.30.0160.00817.18
8.0.20.0110.01217.40
8.0.10.0030.00517.02
8.0.00.0060.01416.90
7.4.330.0030.00315.03
7.4.320.0000.00616.66
7.4.300.0000.00816.60
7.4.290.0030.00316.66
7.4.280.0030.00616.74
7.4.270.0050.00316.75
7.4.260.0020.00516.73
7.4.250.0070.00016.59
7.4.240.0050.00216.67
7.4.230.0080.00016.76
7.4.220.0070.01316.65
7.4.210.0140.00716.63
7.4.200.0040.00416.76
7.4.160.0140.00316.74
7.4.150.0120.00617.40
7.4.140.0090.01217.86
7.4.130.0100.01016.74
7.4.120.0100.00816.67
7.4.110.0140.00616.59
7.4.100.0090.00916.77
7.4.90.0150.00316.48
7.4.80.0080.00919.39
7.4.70.0090.00916.68
7.4.60.0060.00916.78
7.4.50.0070.00016.55
7.4.40.0060.01316.62
7.4.30.0190.00316.66
7.4.00.0100.00715.09
7.3.330.0030.00313.11
7.3.320.0080.00413.23
7.3.310.0030.00316.36
7.3.300.0000.00616.41
7.3.290.0060.01016.41
7.3.280.0120.00516.33
7.3.270.0060.01217.40
7.3.260.0040.01716.40
7.3.250.0080.01016.38
7.3.240.0070.01016.40
7.3.230.0040.01516.39
7.3.210.0090.00916.59
7.3.200.0070.01119.39
7.3.190.0080.00816.54
7.3.180.0140.00316.33
7.3.170.0050.01716.55
7.3.160.0160.00316.42
7.2.330.0190.00016.54
7.2.320.0090.00916.55
7.2.310.0090.01216.50
7.2.300.0070.01616.59
7.2.290.0110.00716.59
7.2.60.0100.00717.09
7.2.00.0040.01218.76
7.1.200.0070.00715.79
7.1.100.0000.01317.85
7.1.70.0030.01317.28
7.1.60.0160.00919.50
7.1.50.0090.00616.98
7.1.00.0070.07322.56
7.0.200.0160.00616.77
7.0.140.0030.04022.00
7.0.60.0070.05719.83
7.0.50.0070.08017.91
7.0.40.0070.08720.01
7.0.30.0230.03320.20
7.0.20.0230.09020.20
7.0.10.0230.06720.04
7.0.00.0170.08020.32
5.6.280.0030.07321.02
5.6.210.0170.07720.48
5.6.200.0070.04318.09
5.6.190.0070.04320.54
5.6.180.0370.06320.36
5.6.170.0300.06320.50
5.6.160.0130.04720.41
5.6.150.0100.07018.09
5.6.140.0030.07718.11
5.6.130.0100.06718.19
5.6.120.0070.05320.98
5.6.110.0030.08021.13
5.6.100.0000.04321.00
5.6.90.0200.07021.10
5.6.80.0100.07020.41
5.6.70.0330.06720.46
5.5.350.0330.07320.30
5.5.340.0070.05717.93
5.5.330.0100.08320.20
5.5.320.0000.05320.36
5.5.310.0330.08020.42
5.5.300.0030.04017.89
5.5.290.0070.08317.98
5.5.280.0030.05720.76
5.5.270.0100.03320.86
5.5.260.0100.06020.76
5.5.250.0070.08020.63
5.5.240.0030.03720.18
5.4.450.3730.03319.13
5.4.440.0070.04019.46
5.4.430.3630.03319.57
5.4.420.3900.02719.41
5.4.410.3870.04019.26
5.4.400.3830.02718.82
5.4.390.3630.03718.79
5.4.380.3600.03719.13
5.4.370.3530.03719.09
5.4.360.3730.05318.92
5.4.350.3670.02719.24
5.4.340.2530.04319.14
5.4.320.1600.03718.89
5.4.310.2670.03319.09
5.4.300.3400.03718.88
5.4.290.3100.04019.08
5.4.280.3730.04019.25
5.4.270.3770.03719.11
5.4.260.3530.03719.09
5.4.250.3630.03019.08
5.4.240.3470.03719.13
5.4.230.3630.03718.78
5.4.220.3830.03719.11
5.4.210.3600.03718.79
5.4.200.3600.04018.91
5.4.190.3570.03019.25
5.4.180.3900.04019.08
5.4.170.3230.04018.89
5.4.160.3500.03719.11
5.4.150.3400.04018.92
5.4.140.3270.03016.38
5.4.130.3530.03316.18
5.4.120.3800.03016.29
5.4.110.3670.04016.48
5.4.100.3730.03716.39
5.4.90.3470.04016.31
5.4.80.3570.04016.41
5.4.70.3170.03716.38
5.4.60.3270.03316.46
5.4.50.3330.03016.25
5.4.40.3500.03716.38
5.4.30.3770.04316.39
5.4.20.2070.03316.17
5.4.10.0000.07716.36
5.4.00.0030.04015.82
5.3.290.1600.03314.51
5.3.280.3400.03314.54
5.3.270.3570.04014.49
5.3.260.3430.03714.45
5.3.250.3600.04014.63
5.3.240.3570.04014.46
5.3.230.3430.03314.46
5.3.220.4470.03314.43
5.3.210.3400.04014.53
5.3.200.3770.03714.52
5.3.190.3570.03314.45
5.3.180.3570.03314.41
5.3.170.3430.04014.48
5.3.160.3530.04014.52
5.3.150.3570.04714.41
5.3.140.3230.03714.60
5.3.130.3270.03314.52
5.3.120.3500.03314.59
5.3.110.0070.05314.50
5.3.100.3830.04313.88
5.3.90.3700.03314.11
5.3.80.3630.03713.97
5.3.70.3630.03714.08
5.3.60.3630.03313.98
5.3.50.3630.04014.04
5.3.40.4170.03713.75
5.3.30.3930.03013.77
5.3.20.3500.04013.48
5.3.10.3500.04013.71
5.3.00.3470.03313.73
5.2.170.3070.02711.30
5.2.160.3070.02711.09
5.2.150.3000.03011.01
5.2.140.3170.03010.99
5.2.130.2930.02311.04
5.2.120.2930.02710.94
5.2.110.2870.03011.04
5.2.100.2970.02711.06
5.2.90.2900.03011.04
5.2.80.3030.02710.93
5.2.70.0100.02311.00
5.2.60.0000.03011.22
5.2.50.0030.03311.06
5.2.40.1270.03010.86
5.2.30.2430.02310.85
5.2.20.2430.03010.85
5.2.10.2670.03010.89
5.2.00.2470.03010.70
5.1.60.2600.01710.00
5.1.50.2400.02310.07
5.1.40.2970.02310.00
5.1.30.2630.02710.27
5.1.20.2400.02310.29
5.1.10.2530.0279.99
5.1.00.1870.02310.26
5.0.50.1230.0178.50
5.0.40.1430.0238.32
5.0.30.1200.0308.13
5.0.20.1200.0178.34
5.0.10.1230.0178.42
5.0.00.1230.0278.10
4.4.90.0000.0177.56
4.4.80.0030.0107.56
4.4.70.1230.0177.56
4.4.60.1270.0177.56
4.4.50.1230.0137.56
4.4.40.0670.0277.56
4.4.30.1270.0137.56
4.4.20.1470.0177.56
4.4.10.1230.0137.56
4.4.00.1300.0207.56
4.3.110.1270.0107.56
4.3.100.1430.0137.56
4.3.90.1200.0137.56
4.3.80.1270.0277.56
4.3.70.1270.0177.56
4.3.60.1330.0177.56
4.3.50.1270.0137.56
4.3.40.1200.0277.56
4.3.30.0670.0207.56
4.3.20.0600.0177.56
4.3.10.0600.0177.56
4.3.00.0630.0137.56

preferences:
62.48 ms | 401 KiB | 5 Q