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.0040.01116.61
8.3.50.0120.00722.85
8.3.40.0120.00318.82
8.3.30.0100.00319.05
8.3.20.0050.00220.34
8.3.10.0080.00023.65
8.3.00.0080.00019.51
8.2.180.0130.00718.63
8.2.170.0040.01122.96
8.2.160.0070.00720.28
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0070.01026.16
8.2.120.0040.00421.02
8.2.110.0110.00020.26
8.2.100.0080.00318.16
8.2.90.0060.00318.97
8.2.80.0030.00517.97
8.2.70.0060.00317.63
8.2.60.0000.00818.05
8.2.50.0030.00618.07
8.2.40.0100.00017.83
8.2.30.0000.00718.03
8.2.20.0040.00417.89
8.2.10.0000.00818.02
8.2.00.0000.00917.70
8.1.280.0070.01425.92
8.1.270.0050.00323.88
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.91
8.1.230.0000.01019.21
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0030.00717.23
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0050.00318.78
8.1.160.0070.00021.89
8.1.150.0040.00418.81
8.1.140.0070.00317.45
8.1.130.0020.00517.85
8.1.120.0030.00317.46
8.1.110.0000.00717.50
8.1.100.0070.00017.53
8.1.90.0040.00417.44
8.1.80.0050.00517.43
8.1.70.0030.00317.54
8.1.60.0090.00017.68
8.1.50.0040.00417.57
8.1.40.0040.00417.60
8.1.30.0040.00417.69
8.1.20.0000.00817.77
8.1.10.0040.00417.61
8.1.00.0040.00417.63
8.0.300.0040.00418.77
8.0.290.0030.00516.63
8.0.280.0030.00618.29
8.0.270.0000.00717.12
8.0.260.0030.00317.18
8.0.250.0000.00717.07
8.0.240.0030.00617.02
8.0.230.0040.00416.90
8.0.220.0040.00417.01
8.0.210.0000.00716.98
8.0.200.0070.00016.90
8.0.190.0040.00416.93
8.0.180.0080.00017.04
8.0.170.0080.00017.06
8.0.160.0000.00716.84
8.0.150.0000.00716.91
8.0.140.0000.00716.79
8.0.130.0060.00013.39
8.0.120.0030.00616.96
8.0.110.0020.00516.86
8.0.100.0000.00716.84
8.0.90.0040.00417.04
8.0.80.0110.00416.99
8.0.70.0000.00716.79
8.0.60.0040.00416.88
8.0.50.0000.00816.80
8.0.30.0150.00817.29
8.0.20.0110.00717.40
8.0.10.0000.00717.13
8.0.00.0130.00416.93
7.4.330.0060.00015.08
7.4.320.0030.00316.75
7.4.300.0080.00016.67
7.4.290.0070.00016.66
7.4.280.0090.00016.77
7.4.270.0030.00316.51
7.4.260.0040.00416.62
7.4.250.0000.00716.70
7.4.240.0040.00416.74
7.4.230.0000.00716.73
7.4.220.0110.00716.61
7.4.210.0120.00316.59
7.4.200.0070.00016.80
7.4.160.0030.01316.81
7.4.150.0130.00717.40
7.4.140.0140.00417.86
7.4.130.0130.00716.55
7.4.120.0100.00816.73
7.4.110.0120.00616.79
7.4.100.0140.00716.59
7.4.90.0100.00716.61
7.4.80.0090.00919.39
7.4.70.0060.01216.49
7.4.60.0080.00816.44
7.4.50.0040.00416.71
7.4.40.0110.00516.84
7.4.30.0150.00616.55
7.4.00.0080.00815.10
7.3.330.0050.00013.23
7.3.320.0000.00613.18
7.3.310.0030.00316.15
7.3.300.0000.00716.39
7.3.290.0140.00416.46
7.3.280.0100.00716.37
7.3.270.0070.01017.40
7.3.260.0140.00416.75
7.3.250.0120.00716.30
7.3.240.0090.00916.25
7.3.230.0140.00316.39
7.3.210.0040.01316.46
7.3.200.0070.01119.39
7.3.190.0120.00916.62
7.3.180.0100.00716.32
7.3.170.0030.01316.59
7.3.160.0130.00316.73
7.3.120.0120.00614.79
7.3.110.0100.00714.94
7.3.100.0110.00415.03
7.3.90.0070.00714.51
7.3.80.0070.00714.90
7.3.70.0030.01014.98
7.3.60.0030.00614.84
7.3.50.0000.01115.07
7.3.40.0000.01314.84
7.3.30.0000.00814.77
7.3.20.0050.00516.74
7.3.10.0030.00716.77
7.3.00.0140.00416.68
7.2.330.0120.00816.73
7.2.320.0040.01116.56
7.2.310.0030.01516.63
7.2.300.0100.00716.72
7.2.290.0120.00916.65
7.2.250.0100.01014.97
7.2.240.0030.01614.91
7.2.230.0030.01315.00
7.2.220.0030.00715.15
7.2.210.0080.00415.01
7.2.200.0030.00914.86
7.2.190.0030.01315.11
7.2.180.0040.01414.89
7.2.170.0070.01015.00
7.2.00.0060.00619.23
7.1.330.0100.00615.93
7.1.320.0060.00915.98
7.1.310.0100.00716.09
7.1.300.0070.00716.02
7.1.290.0030.00615.95
7.1.280.0120.00315.86
7.1.270.0040.01116.09
7.1.260.0030.01315.75
7.1.100.0030.00617.97
7.1.70.0000.00817.51
7.1.60.0100.01419.46
7.1.50.0040.01817.25
7.1.00.0070.07322.36
7.0.200.0030.00316.79
7.0.140.0030.06721.97
7.0.60.0030.08019.97
7.0.50.0100.08017.91
7.0.40.0130.04319.98
7.0.30.0300.05720.06
7.0.20.0200.03720.18
7.0.10.0100.04020.21
7.0.00.0030.04320.11
5.6.280.0070.07020.77
5.6.210.0100.05020.61
5.6.200.0030.06318.08
5.6.190.0070.08020.76
5.6.180.0470.05720.41
5.6.170.0230.08020.50
5.6.160.0170.06720.41
5.6.150.0070.05018.11
5.6.140.0000.04718.20
5.6.130.0000.04318.16
5.6.120.0070.05021.03
5.6.110.0100.06721.13
5.6.100.0170.07320.94
5.6.90.0030.08721.09
5.6.80.0130.04720.34
5.6.70.4500.04320.36
5.5.350.0130.08720.34
5.5.340.0030.07017.93
5.5.330.0030.04720.46
5.5.320.0330.08020.31
5.5.310.0330.05320.31
5.5.300.0070.07717.98
5.5.290.0030.04017.91
5.5.280.0000.08020.88
5.5.270.0030.04320.88
5.5.260.0070.05320.88
5.5.250.0100.05020.68
5.5.240.0200.07320.25
5.4.450.0300.04319.21
5.4.440.0230.05019.43
5.4.430.0470.04319.13
5.4.420.0430.04319.40
5.4.410.0030.04019.41
5.4.400.0570.03019.08
5.4.390.0470.04719.10
5.4.380.0470.06318.62
5.4.370.0370.05318.49
5.4.360.0300.05718.76
5.4.350.0370.06318.52
5.4.340.0470.05018.49
5.4.320.0070.03512.45
5.4.310.0060.03812.45
5.4.300.0060.03612.45
5.4.290.0080.04112.45
5.4.280.0050.03712.34
5.4.270.0040.04112.34
5.4.260.0050.04912.35
5.4.250.0070.04212.34
5.4.240.0080.03712.35
5.4.230.0060.03712.34
5.4.220.0060.04112.34
5.4.210.0090.03212.34
5.4.200.0070.03512.34
5.4.190.0040.03912.33
5.4.180.0050.03712.34
5.4.170.0080.03312.35
5.4.160.0070.03712.34
5.4.150.0040.03612.34
5.4.140.0040.03712.02
5.4.130.0060.03612.01
5.4.120.0070.03511.96
5.4.110.0040.03711.96
5.4.100.0070.03311.96
5.4.90.0050.03711.96
5.4.80.0030.03911.96
5.4.70.0040.03611.96
5.4.60.0070.04311.96
5.4.50.0020.03911.96
5.4.40.0070.03411.95
5.4.30.0080.03411.95
5.4.20.0070.03411.95
5.4.10.0070.03311.95
5.4.00.0060.03611.43
5.3.290.0080.04312.80
5.3.280.0070.03612.71
5.3.270.0070.03712.73
5.3.260.0060.03912.71
5.3.250.0040.03812.72
5.3.240.0060.03612.72
5.3.230.0050.03812.71
5.3.220.0080.03512.68
5.3.210.0080.03712.68
5.3.200.0090.03312.68
5.3.190.0050.03812.68
5.3.180.0070.03612.68
5.3.170.0050.03612.67
5.3.160.0060.03712.67
5.3.150.0040.03812.68
5.3.140.0040.03712.66
5.3.130.0070.03612.66
5.3.120.0100.04312.66
5.3.110.0070.03612.66
5.3.100.0120.03512.12
5.3.90.0070.03512.08
5.3.80.0050.03812.08
5.3.70.0030.03812.08
5.3.60.0040.03812.06
5.3.50.0060.03512.00
5.3.40.0050.03712.00
5.3.30.0050.03511.95
5.3.20.0090.03811.72
5.3.10.0050.03511.69
5.3.00.0050.03711.68
5.2.170.0060.0399.18
5.2.160.0050.0299.18
5.2.150.0060.0309.18
5.2.140.0040.0329.17
5.2.130.0040.0359.14
5.2.120.0020.0309.14
5.2.110.0050.0299.14
5.2.100.0070.0329.14
5.2.90.0060.0319.14
5.2.80.0050.0309.14
5.2.70.0090.0309.14
5.2.60.0060.0299.09
5.2.50.0060.0309.05
5.2.40.0040.0319.04
5.2.30.0040.0329.02
5.2.20.0050.0329.00
5.2.10.0030.0368.92
5.2.00.0050.0358.78
5.1.60.0070.0248.06
5.1.50.0050.0238.06
5.1.40.0080.0198.04
5.1.30.0050.0258.39
5.1.20.0040.0268.41
5.1.10.0050.0258.13
5.1.00.0060.0248.14
5.0.50.0050.0186.61
5.0.40.0050.0176.46
5.0.30.0020.0326.28
5.0.20.0040.0186.26
5.0.10.0040.0196.23
5.0.00.0030.0336.23
4.4.90.0020.0164.78
4.4.80.0050.0134.76
4.4.70.0070.0164.76
4.4.60.0050.0134.76
4.4.50.0020.0164.77
4.4.40.0040.0384.71
4.4.30.0020.0194.76
4.4.20.0010.0184.85
4.4.10.0040.0144.85
4.4.00.0000.0274.76
4.3.110.0020.0244.67
4.3.100.0040.0194.67
4.3.90.0020.0154.64
4.3.80.0020.0254.58
4.3.70.0030.0144.63
4.3.60.0020.0154.63
4.3.50.0040.0204.63
4.3.40.0010.0254.54
4.3.30.0010.0173.28
4.3.20.0040.0163.26
4.3.10.0030.0153.21
4.3.00.0030.02015.68

preferences:
76.2 ms | 401 KiB | 5 Q