3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = "/(?<=\)),(?=\()/"; $string = "(y3,x3),(r4,t4)"; $output = preg_split($pattern, $string); print_r($output);

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.0080.00618.30
8.3.50.0130.00222.17
8.3.40.0090.00618.66
8.3.30.0100.00418.93
8.3.20.0000.00720.27
8.3.10.0040.00423.71
8.3.00.0070.00019.05
8.2.180.0120.00317.00
8.2.170.0060.00922.96
8.2.160.0110.00320.30
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0060.00320.81
8.2.110.0030.00622.23
8.2.100.0070.00420.38
8.2.90.0040.00419.05
8.2.80.0080.00017.97
8.2.70.0040.00417.75
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0030.00719.95
8.2.30.0050.00518.18
8.2.20.0050.00217.76
8.2.10.0000.00818.00
8.2.00.0050.00317.85
8.1.280.0070.00725.92
8.1.270.0050.00323.86
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0100.00023.96
8.1.230.0080.00418.97
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0040.00717.47
8.1.190.0040.00417.35
8.1.180.0030.00518.10
8.1.170.0050.00318.71
8.1.160.0050.00222.01
8.1.150.0000.00718.80
8.1.140.0060.00317.53
8.1.130.0030.00317.70
8.1.120.0040.00417.53
8.1.110.0000.00817.45
8.1.100.0000.00717.58
8.1.90.0000.00817.55
8.1.80.0000.00717.57
8.1.70.0000.00717.50
8.1.60.0000.00817.64
8.1.50.0000.00817.50
8.1.40.0040.00417.51
8.1.30.0040.00417.64
8.1.20.0070.00017.72
8.1.10.0040.00417.59
8.1.00.0000.00817.50
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.40
8.0.270.0030.00317.11
8.0.260.0030.00317.09
8.0.250.0000.00716.95
8.0.240.0000.00817.02
8.0.230.0070.00017.03
8.0.220.0070.00017.02
8.0.210.0000.00716.95
8.0.200.0030.00317.03
8.0.190.0000.00716.93
8.0.180.0000.00717.02
8.0.170.0040.00417.02
8.0.160.0040.00416.88
8.0.150.0000.00716.95
8.0.140.0000.00816.94
8.0.130.0000.00613.46
8.0.120.0050.00316.96
8.0.110.0070.00016.99
8.0.100.0000.00716.95
8.0.90.0040.00416.79
8.0.80.0000.01817.02
8.0.70.0000.00716.90
8.0.60.0040.00416.98
8.0.50.0070.00016.82
8.0.30.0050.01417.04
8.0.20.0100.00917.40
8.0.10.0000.00716.96
8.0.00.0070.01116.61
7.4.330.0030.00315.03
7.4.320.0030.00316.73
7.4.300.0030.00316.57
7.4.290.0090.00016.61
7.4.280.0040.00416.77
7.4.270.0000.00716.74
7.4.260.0000.00816.53
7.4.250.0000.00816.71
7.4.240.0030.00416.68
7.4.230.0000.00816.77
7.4.220.0130.00516.73
7.4.210.0110.00316.61
7.4.200.0030.00316.68
7.4.190.0000.00716.89
7.4.160.0120.00316.36
7.4.150.0100.00717.40
7.4.140.0100.01017.86
7.4.130.0090.00816.62
7.4.120.0120.00516.50
7.4.110.0080.00816.70
7.4.100.0030.01416.45
7.4.90.0060.01116.43
7.4.80.0190.00019.39
7.4.70.0090.01316.57
7.4.60.0070.01116.70
7.4.50.0000.00816.46
7.4.40.0130.00616.57
7.4.30.0120.00616.66
7.4.00.0130.00315.00
7.3.330.0030.00313.07
7.3.320.0030.00313.11
7.3.310.0030.00416.13
7.3.300.0000.00716.31
7.3.290.0030.01016.38
7.3.280.0080.01016.33
7.3.270.0060.01217.40
7.3.260.0110.00816.23
7.3.250.0110.00616.38
7.3.240.0130.00616.35
7.3.230.0140.00316.39
7.3.210.0130.00316.25
7.3.200.0110.01119.39
7.3.190.0100.00716.26
7.3.180.0100.00716.18
7.3.170.0090.00616.27
7.3.160.0090.00916.50
7.3.120.0030.00914.79
7.2.330.0080.01116.57
7.2.320.0070.01416.73
7.2.310.0070.01316.61
7.2.300.0100.00716.58
7.2.290.0100.00716.54
7.2.00.0000.01719.63
7.1.100.0080.00318.02
7.1.70.0050.00217.41
7.1.60.0140.01119.70
7.1.50.0060.01617.12
7.1.00.0070.07322.33
7.0.200.0000.00916.77
7.0.140.0070.07022.08
7.0.60.0030.08319.93
7.0.50.0070.06017.92
7.0.40.0030.07020.26
7.0.30.0400.07320.35
7.0.20.0330.06020.11
7.0.10.0300.08020.07
7.0.00.0130.08020.17
5.6.280.0000.07721.06
5.6.210.0100.06720.70
5.6.200.0100.03318.19
5.6.190.0030.04720.51
5.6.180.3030.04720.57
5.6.170.0330.06020.39
5.6.160.0030.09020.52
5.6.150.0100.07718.27
5.6.140.0130.07318.28
5.6.130.0130.03718.27
5.6.120.0070.04320.96
5.6.110.0070.08320.95
5.6.100.0130.08021.08
5.6.90.0070.09020.96
5.6.80.0070.08720.36
5.6.70.0400.04720.41
5.5.350.0270.07020.40
5.5.340.0030.05717.91
5.5.330.0030.06020.19
5.5.320.0230.06320.36
5.5.310.0330.07720.24
5.5.300.0030.08318.10
5.5.290.0030.04717.91
5.5.280.0130.07020.73
5.5.270.0100.05020.75
5.5.260.0100.08020.96
5.5.250.0000.07320.67
5.5.240.0070.06320.34
5.4.450.0930.05019.28
5.4.440.0670.05719.55
5.4.430.0170.04719.64
5.4.420.0730.00019.22
5.4.410.0030.07718.68
5.4.400.0200.06718.66
5.4.390.0230.05018.68
5.4.380.0170.05318.50
5.4.370.0000.05018.59
5.4.360.0100.04018.55
5.4.350.0080.05012.00
5.4.340.0060.04612.00
5.4.320.0090.03512.48
5.4.310.0080.04212.47
5.4.300.0100.03512.48
5.4.290.0100.04412.48
5.4.280.0090.03812.37
5.4.270.0160.03312.38
5.4.260.0110.03812.38
5.4.250.0150.03312.37
5.4.240.0100.04212.37
5.4.230.0050.05512.36
5.4.220.0090.04312.36
5.4.210.0110.03712.37
5.4.200.0160.03212.36
5.4.190.0100.03912.36
5.4.180.0110.03712.36
5.4.170.0150.03812.38
5.4.160.0070.04312.37
5.4.150.0080.03712.37
5.4.140.0070.03912.05
5.4.130.0070.04212.04
5.4.120.0110.03711.99
5.4.110.0050.03811.99
5.4.100.0090.03311.99
5.4.90.0080.03511.99
5.4.80.0050.03711.99
5.4.70.0050.04111.99
5.4.60.0080.03711.98
5.4.50.0070.03711.99
5.4.40.0080.03311.98
5.4.30.0050.03611.98
5.4.20.0120.03211.97
5.4.10.0040.03611.98
5.4.00.0070.03411.46
5.3.290.0070.04612.80
5.3.280.0070.03612.71
5.3.270.0080.03712.73
5.3.260.0060.04012.72
5.3.250.0040.04012.72
5.3.240.0040.04012.72
5.3.230.0080.03712.71
5.3.220.0030.04212.68
5.3.210.0050.04512.68
5.3.200.0090.03212.68
5.3.190.0070.03712.68
5.3.180.0030.03912.67
5.3.170.0050.05312.67
5.3.160.0080.04812.68
5.3.150.0060.03712.67
5.3.140.0070.03512.66
5.3.130.0060.03812.65
5.3.120.0090.03612.66
5.3.110.0060.04012.66
5.3.100.0080.03612.12
5.3.90.0050.04312.09
5.3.80.0050.04212.07
5.3.70.0050.03812.08
5.3.60.0060.03712.07
5.3.50.0040.03912.01
5.3.40.0110.04112.01
5.3.30.0050.03711.97
5.3.20.0080.03511.75
5.3.10.0060.03511.72
5.3.00.0070.04511.70
5.2.170.0080.0389.20
5.2.160.0050.0299.21
5.2.150.0060.0329.20
5.2.140.0050.0329.20
5.2.130.0050.0329.16
5.2.120.0040.0339.16
5.2.110.0030.0329.17
5.2.100.0030.0379.16
5.2.90.0090.0359.16
5.2.80.0100.0369.16
5.2.70.0080.0389.16
5.2.60.0070.0309.11
5.2.50.0080.0299.08
5.2.40.0060.0299.06
5.2.30.0040.0329.04
5.2.20.0030.0319.03
5.2.10.0020.0328.93
5.2.00.0040.0318.79
5.1.60.0050.0278.06
5.1.50.0050.0278.06
5.1.40.0030.0278.04
5.1.30.0030.0268.39
5.1.20.0030.0278.41
5.1.10.0030.0278.13
5.1.00.0040.0268.14
5.0.50.0030.0236.61
5.0.40.0030.0206.47
5.0.30.0030.0326.29
5.0.20.0070.0186.25
5.0.10.0030.0236.23
5.0.00.0000.0346.23
4.4.90.0030.0164.78
4.4.80.0020.0164.76
4.4.70.0080.0124.75
4.4.60.0040.0164.75
4.4.50.0040.0174.77
4.4.40.0050.0304.71
4.4.30.0030.0194.76
4.4.20.0010.0224.85
4.4.10.0010.0204.85
4.4.00.0030.0284.76
4.3.110.0020.0184.66
4.3.100.0030.0194.67
4.3.90.0030.0194.63
4.3.80.0020.0324.58
4.3.70.0050.0184.63
4.3.60.0010.0174.62
4.3.50.0030.0164.63
4.3.40.0030.0244.54
4.3.30.0030.0173.29
4.3.20.0010.0173.25
4.3.10.0020.0163.21
4.3.00.0030.02016.50

preferences:
37.59 ms | 401 KiB | 5 Q