3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'a,b\\,c\\\\,d'; preg_match_all('/(?:\\\(?:\\.|$)|[^\\\\,])+/', $str, $matches); var_dump($matches[0]);

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.0170.00018.43
8.3.50.0090.01023.04
8.3.40.0110.00419.04
8.3.30.0060.01219.08
8.3.20.0040.00420.16
8.3.10.0060.00323.48
8.3.00.0000.00819.30
8.2.180.0170.00318.34
8.2.170.0070.01122.96
8.2.160.0040.01120.31
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00020.91
8.2.110.0090.00020.45
8.2.100.0040.00718.09
8.2.90.0060.00319.27
8.2.80.0050.00317.97
8.2.70.0040.00417.75
8.2.60.0030.00517.80
8.2.50.0030.00618.07
8.2.40.0040.00818.16
8.2.30.0040.00418.00
8.2.20.0040.00417.88
8.2.10.0000.00818.02
8.2.00.0040.00417.82
8.1.280.0090.00925.92
8.1.270.0110.00723.80
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.00922.03
8.1.230.0040.00719.09
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0090.00017.22
8.1.180.0030.00618.10
8.1.170.0090.00018.66
8.1.160.0050.00221.90
8.1.150.0040.00418.73
8.1.140.0050.00517.41
8.1.130.0030.00317.76
8.1.120.0000.00717.59
8.1.110.0040.00417.46
8.1.100.0040.00417.43
8.1.90.0050.00317.51
8.1.80.0040.00417.62
8.1.70.0000.00817.50
8.1.60.0030.00617.66
8.1.50.0050.00317.53
8.1.40.0000.00817.52
8.1.30.0000.00917.58
8.1.20.0000.00717.64
8.1.10.0040.00417.71
8.1.00.0000.00817.52
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0050.00318.45
8.0.270.0030.00317.21
8.0.260.0060.00017.26
8.0.250.0030.00316.91
8.0.240.0000.00716.95
8.0.230.0000.00717.05
8.0.220.0040.00417.02
8.0.210.0000.00716.95
8.0.200.0070.00016.89
8.0.190.0050.00317.02
8.0.180.0040.00416.98
8.0.170.0000.00817.04
8.0.160.0000.00716.91
8.0.150.0020.00516.90
8.0.140.0000.00716.91
8.0.130.0030.00313.38
8.0.120.0040.00416.85
8.0.110.0050.00316.90
8.0.100.0000.00716.79
8.0.90.0000.00717.00
8.0.80.0040.01217.01
8.0.70.0040.00416.96
8.0.60.0000.00716.96
8.0.50.0040.00416.95
8.0.30.0110.01117.09
8.0.20.0120.00617.43
8.0.10.0050.00216.94
8.0.00.0090.01017.00
7.4.330.0050.00015.00
7.4.320.0060.00016.68
7.4.300.0050.00316.75
7.4.290.0030.00316.67
7.4.280.0050.00316.77
7.4.270.0040.00416.73
7.4.260.0030.00316.66
7.4.250.0000.00816.63
7.4.240.0010.00716.64
7.4.230.0040.00416.55
7.4.220.0140.00316.71
7.4.210.0110.00316.61
7.4.200.0030.00316.48
7.4.160.0070.01016.74
7.4.150.0070.01417.40
7.4.140.0130.01017.86
7.4.130.0090.00816.57
7.4.120.0080.00816.58
7.4.110.0030.01316.62
7.4.100.0070.01116.77
7.4.90.0040.01516.41
7.4.80.0130.01019.39
7.4.70.0060.00916.73
7.4.60.0080.00816.65
7.4.50.0080.00016.46
7.4.40.0160.00616.45
7.4.30.0040.01416.64
7.3.330.0000.00613.18
7.3.320.0000.00613.08
7.3.310.0030.00316.29
7.3.300.0030.00316.37
7.3.290.0110.00416.36
7.3.280.0080.00816.38
7.3.270.0110.00717.40
7.3.260.0100.01016.43
7.3.250.0100.00716.46
7.3.240.0150.00716.40
7.3.230.0160.00016.39
7.3.210.0090.00916.60
7.3.200.0100.00719.39
7.3.190.0070.01016.73
7.3.180.0110.00416.29
7.3.170.0070.01416.30
7.3.160.0060.00916.29
7.2.330.0070.01116.54
7.2.320.0080.01416.52
7.2.310.0130.00416.46
7.2.300.0090.00916.69
7.2.290.0060.01016.71
7.0.100.0600.07019.98
7.0.90.0430.05319.91
7.0.80.0530.07719.92
7.0.70.0430.07719.97
7.0.60.0200.07020.07
7.0.50.0370.06720.35
7.0.40.0100.08320.09
7.0.30.0130.04720.05
7.0.20.0270.05020.15
7.0.10.0170.07720.10
7.0.00.0030.06020.03
5.6.250.0170.06020.59
5.6.240.0030.09320.63
5.6.230.0170.07720.74
5.6.220.0070.09020.61
5.6.210.0100.08720.44
5.6.200.0170.08320.90
5.6.190.0130.07321.05
5.6.180.0130.08321.12
5.6.170.0170.08020.94
5.6.160.0170.05021.03
5.6.150.0070.07021.03
5.6.140.0100.08720.92
5.6.130.0070.09321.00
5.6.120.0030.04320.93
5.6.110.0100.06321.09
5.6.100.0100.08320.93
5.6.90.0170.08021.07
5.6.80.0000.09020.41
5.6.70.0030.04720.45
5.6.60.0130.07720.44
5.6.50.0100.07720.48
5.6.40.0070.08320.37
5.6.30.0270.06320.52
5.6.20.0100.08320.39
5.6.10.0130.06020.52
5.6.00.0200.06320.27
5.5.380.0130.08720.32
5.5.370.0130.06320.36
5.5.360.0030.06720.39
5.5.350.0130.07020.41
5.5.340.0130.07320.77
5.5.330.0130.07320.93
5.5.320.0170.08020.76
5.5.310.0100.06320.86
5.5.300.0130.07720.79
5.5.290.0070.09020.84
5.5.280.0100.08020.91
5.5.270.0070.04020.77
5.5.260.0030.07720.62
5.5.250.0170.07720.68
5.5.240.0170.06320.02
5.5.230.0170.08020.18
5.5.220.0130.08020.30
5.5.210.0130.08320.17
5.5.200.0100.08320.22
5.5.190.0100.06320.18
5.5.180.0030.08720.08
5.5.160.0100.07720.12
5.5.150.0070.08020.10
5.5.140.0000.09020.14
5.5.130.0100.07720.18
5.5.120.0200.07020.20
5.5.110.0100.08320.10
5.5.100.0130.07720.07
5.5.90.0030.08320.16
5.5.80.0000.08720.11
5.5.70.0100.07020.07
5.5.60.0070.08320.01
5.5.50.0170.07719.96
5.5.40.0230.06319.95
5.5.30.0170.06320.00
5.5.20.0170.07719.95
5.5.10.0070.08320.05
5.5.00.0100.07020.02
5.4.450.0130.06319.48
5.4.440.0130.03019.34
5.4.430.0070.08319.38
5.4.420.0100.07719.46
5.4.410.0070.08019.24
5.4.400.0070.04019.13
5.4.390.0170.07019.12
5.4.380.0130.06319.12
5.4.370.0070.04018.95
5.4.360.0200.06019.03
5.4.350.0070.07719.12
5.4.340.0130.07018.79
5.4.320.0000.08718.96
5.4.310.0230.05318.97
5.4.300.0000.08318.94
5.4.290.0130.06319.11
5.4.280.0170.07019.14
5.4.270.0170.07319.12
5.4.260.0170.05319.06
5.4.250.0070.06018.89
5.4.240.0130.07719.07
5.4.230.0030.08019.03
5.4.220.0170.07019.14
5.4.210.0100.06718.80
5.4.200.0100.06319.21
5.4.190.0070.07718.88
5.4.180.0030.08019.11
5.4.170.0100.07319.02
5.4.160.0170.06018.92
5.4.150.0070.07719.01
5.4.140.0100.08316.28
5.4.130.0030.08016.37
5.4.120.0130.06016.38
5.4.110.0070.05016.40
5.4.100.0170.05716.34
5.4.90.0030.07716.26
5.4.80.0070.07016.20
5.4.70.0070.06716.33
5.4.60.0100.07016.40
5.4.50.0100.06716.19
5.4.40.0030.05716.42
5.4.30.0100.06316.30
5.4.20.0000.07316.31
5.4.10.0030.04716.23
5.4.00.0070.07315.78
5.3.290.0130.06714.62
5.3.280.0030.08014.50
5.3.270.0130.06714.45
5.3.260.0000.08314.59
5.3.250.0130.07314.56
5.3.240.0070.07714.46
5.3.230.0070.07014.54
5.3.220.0070.06314.51
5.3.210.0070.06714.57
5.3.200.0100.07714.57
5.3.190.0030.08014.54
5.3.180.0070.07314.50
5.3.170.0100.07714.52
5.3.160.0100.06714.50
5.3.150.0070.07314.52
5.3.140.0070.07714.54
5.3.130.0100.05314.49
5.3.120.0000.07314.38
5.3.110.0030.06314.54
5.3.100.0100.07313.95
5.3.90.0070.04713.88
5.3.80.0030.07013.95
5.3.70.0100.07014.00
5.3.60.0100.07714.00
5.3.50.0130.06313.80
5.3.40.0070.04313.91
5.3.30.0230.05313.89
5.3.20.0000.07013.68
5.3.10.0100.04713.65
5.3.00.0100.07013.59
5.2.170.0070.05310.97
5.2.160.0030.05310.96
5.2.150.0030.05711.14
5.2.140.0070.06311.00
5.2.130.0100.06011.05
5.2.120.0000.04310.95
5.2.110.0030.06311.06
5.2.100.0170.05310.96
5.2.90.0030.06010.96
5.2.80.0030.06311.12
5.2.70.0070.05711.13
5.2.60.0070.05710.89
5.2.50.0070.06310.98
5.2.40.0000.06311.05
5.2.30.0070.06010.94
5.2.20.0030.05710.96
5.2.10.0000.06310.92
5.2.00.0000.05710.77
5.1.60.0000.06010.59
5.1.50.0030.05710.59
5.1.40.0000.06010.59
5.1.30.0000.06010.59
5.1.20.0100.05010.59
5.1.10.0100.05310.59
5.1.00.0030.03010.59
5.0.50.0000.02710.59
5.0.40.0000.02010.59
5.0.30.0070.03010.59
5.0.20.0000.02010.59
5.0.10.0000.03310.59
5.0.00.0000.03310.59
4.4.90.0000.03710.59
4.4.80.0130.02310.59
4.4.70.0000.03010.59
4.4.60.0000.04010.59
4.4.50.0070.03310.59
4.4.40.0030.05010.59
4.4.30.0030.03310.59
4.4.20.0070.03010.59
4.4.10.0000.03710.59
4.4.00.0000.02710.59
4.3.110.0000.01710.59
4.3.100.0000.01710.59
4.3.90.0030.01710.59
4.3.80.0030.02010.59
4.3.70.0000.01710.59
4.3.60.0030.01310.59
4.3.50.0070.01010.59
4.3.40.0030.02310.59
4.3.30.0000.01710.59
4.3.20.0000.01710.59
4.3.10.0000.01710.59
4.3.00.0000.03010.59

preferences:
33.15 ms | 401 KiB | 5 Q