3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = ' input { redis { host => "192.168.2.17" type => "nginx access" data_type => "list" key => "nginx access" password => "v5XBbZHcbaKFQr3kRFLqjZV5" } redis { host => "192.168.1.33" type => "nginx access" data_type => "list" key => "nginx access" password => "v5XBbZHcbaKFQr3kRFLqjZV5" } } input { redis { host => "192.168.2.17" type => "nginx access" data_type => "list" key => "nginx access" password => "v5XBbZHcbaKFQr3kRFLqjZV5" } redis { host => "192.168.1.33" type => "nginx access" data_type => "list" key => "nginx access" password => "v5XBbZHcbaKFQr3kRFLqjZV5" } } '; preg_match_all('~\{(?:[^{}]|(?R))*\}~', $input, $sectors); preg_match_all("/\{(.*)\}/U",$input,$sectors); print_r($sectors);

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.40.0060.00918.79
8.3.30.0060.00918.95
8.3.20.0070.00020.16
8.3.10.0040.00423.59
8.3.00.0040.00419.51
8.2.170.0140.00022.96
8.2.160.0100.00720.35
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0000.00722.37
8.2.110.0100.00019.25
8.2.100.0030.00917.72
8.2.90.0000.00817.75
8.2.80.0070.00317.97
8.2.70.0000.00917.80
8.2.60.0030.00618.09
8.2.50.0000.00818.10
8.2.40.0050.00320.47
8.2.30.0070.00019.08
8.2.20.0080.00017.71
8.2.10.0000.00817.91
8.2.00.0080.00017.76
8.1.270.0080.00023.88
8.1.260.0000.00726.35
8.1.250.0000.00828.09
8.1.240.0100.00019.24
8.1.230.0090.00319.02
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0090.00317.11
8.1.190.0030.00717.25
8.1.180.0000.00918.10
8.1.170.0040.00418.77
8.1.160.0040.00418.74
8.1.150.0040.00418.65
8.1.140.0040.00417.47
8.1.130.0070.00017.80
8.1.120.0040.00417.43
8.1.110.0000.00717.63
8.1.100.0000.00817.59
8.1.90.0020.00517.43
8.1.80.0040.00417.59
8.1.70.0030.00317.44
8.1.60.0030.00617.64
8.1.50.0060.00317.62
8.1.40.0000.00717.61
8.1.30.0060.00317.68
8.1.20.0040.00417.64
8.1.10.0040.00417.68
8.1.00.0000.00917.60
8.0.300.0040.00419.89
8.0.290.0070.00016.73
8.0.280.0070.00018.29
8.0.270.0070.00017.23
8.0.260.0000.00617.17
8.0.250.0030.00317.07
8.0.240.0040.00417.05
8.0.230.0000.00716.93
8.0.220.0080.00016.99
8.0.210.0000.00716.99
8.0.200.0000.00916.98
8.0.190.0050.00317.05
8.0.180.0000.00716.92
8.0.170.0000.00816.89
8.0.160.0070.00016.94
8.0.150.0030.00316.84
8.0.140.0070.00016.83
8.0.130.0030.00513.50
8.0.120.0030.00616.98
8.0.110.0040.00416.98
8.0.100.0070.00016.89
8.0.90.0040.00416.98
8.0.80.0060.01016.96
8.0.70.0070.00016.96
8.0.60.0000.00716.94
8.0.50.0070.00016.85
8.0.30.0080.01017.28
8.0.20.0110.00717.40
8.0.10.0000.00716.98
8.0.00.0070.01116.80
7.4.330.0000.00615.00
7.4.320.0000.00616.78
7.4.300.0060.00316.67
7.4.290.0000.00716.64
7.4.280.0000.00716.75
7.4.270.0000.00716.59
7.4.260.0080.00016.80
7.4.250.0000.00716.77
7.4.240.0050.00316.76
7.4.230.0000.00716.84
7.4.220.0060.01216.68
7.4.210.0040.01116.80
7.4.200.0040.00416.79
7.4.190.0030.00316.90
7.4.160.0070.01016.57
7.4.150.0070.01017.40
7.4.140.0130.00717.86
7.4.130.0090.00816.90
7.4.120.0090.00916.56
7.4.110.0120.00616.55
7.4.100.0030.01416.50
7.4.90.0140.00316.63
7.4.80.0040.01819.39
7.4.70.0060.01216.53
7.4.60.0090.00616.69
7.4.50.0000.00816.67
7.4.40.0070.01016.65
7.4.30.0050.01116.64
7.4.00.0070.00715.20
7.3.330.0050.00013.13
7.3.320.0000.00513.03
7.3.310.0040.00416.14
7.3.300.0000.00716.29
7.3.290.0000.01316.28
7.3.280.0090.00916.32
7.3.270.0100.01017.40
7.3.260.0030.01716.37
7.3.250.0050.01316.53
7.3.240.0060.01216.54
7.3.230.0110.00716.45
7.3.210.0100.00616.60
7.3.200.0120.01319.39
7.3.190.0060.01316.35
7.3.180.0030.01316.66
7.3.170.0090.01216.50
7.3.160.0120.00616.30
7.3.120.0070.00715.05
7.3.10.0140.00016.42
7.3.00.0050.00316.45
7.2.330.0120.00616.61
7.2.320.0090.01116.62
7.2.310.0030.01316.53
7.2.300.0070.01016.60
7.2.290.0080.01516.73
7.2.130.0090.00016.62
7.2.120.0060.00616.76
7.2.110.0040.01117.04
7.2.100.0040.00717.00
7.2.90.0090.00616.70
7.2.80.0090.00516.80
7.2.70.0170.01016.76
7.2.60.0130.00316.91
7.2.50.0080.01116.80
7.2.40.0060.00616.84
7.2.30.0030.01016.61
7.2.20.0100.00316.59
7.2.10.0110.00417.07
7.2.00.0050.01018.14
7.1.250.0030.00715.82
7.1.100.0040.00417.96
7.1.70.0040.00417.00
7.1.60.0030.02219.46
7.1.50.0100.01317.11
7.1.00.0070.07322.46
7.0.200.0000.01016.79
7.0.140.0030.07322.09
7.0.70.0100.07721.72
7.0.60.0070.07721.79
7.0.50.0030.06022.13
7.0.40.0170.07720.13
7.0.30.0030.09020.11
7.0.20.0030.07020.09
7.0.10.0070.05020.14
7.0.00.0030.04720.10
5.6.280.0070.07321.05
5.6.220.0030.06320.74
5.6.210.0100.08020.82
5.6.200.0000.09321.25
5.6.190.0070.08721.20
5.6.180.0070.07721.23
5.6.170.0030.09021.19
5.6.160.0070.06721.25
5.6.150.0100.08321.11
5.6.140.0030.04321.24
5.6.130.0170.07721.08
5.6.120.0070.05321.11
5.6.110.0130.08021.28
5.6.100.0030.07721.24
5.6.90.0070.04021.16
5.6.80.0000.04320.55
5.6.70.0030.04020.54
5.6.60.0070.03720.54
5.6.50.0030.04320.57
5.6.40.0030.03720.64
5.6.30.0000.04320.55
5.6.20.0100.04020.52
5.6.10.0130.06020.54
5.6.00.0030.05320.52
5.5.360.0070.09020.71
5.5.350.0070.08320.56
5.5.340.0070.08321.04
5.5.330.0070.08320.98
5.5.320.0100.07321.08
5.5.310.0100.04720.91
5.5.300.0030.04020.92
5.5.290.0170.08020.93
5.5.280.0030.08321.07
5.5.270.0070.04321.07
5.5.260.0070.04320.99
5.5.250.0030.04320.77
5.5.240.0030.03720.42
5.5.230.0100.04720.36
5.5.220.0030.04020.40
5.5.210.0070.04720.32
5.5.200.0070.03320.30
5.5.190.0030.04020.41
5.5.180.0000.04020.36
5.5.160.0000.04020.42
5.5.150.0030.03720.36
5.5.140.0000.04720.41
5.5.130.0070.03720.43
5.5.120.0070.03720.41
5.5.110.0100.05020.12
5.5.100.0070.04020.23
5.5.90.0030.03720.29
5.5.80.0070.03720.28
5.5.70.0000.05320.30
5.5.60.0030.04720.23
5.5.50.0030.04320.23
5.5.40.0100.03320.08
5.5.30.0030.03720.26
5.5.20.0030.03720.21
5.5.10.0070.03720.09
5.5.00.0000.04020.23
5.4.450.0100.07319.55
5.4.440.0070.08719.66
5.4.430.0070.04719.62
5.4.420.0030.04019.39
5.4.410.0070.03719.44
5.4.400.0000.04319.41
5.4.390.0070.05719.05
5.4.380.0100.03319.19
5.4.370.0070.03319.04
5.4.360.0130.02719.39
5.4.350.0030.03719.07
5.4.340.0000.04019.05
5.4.320.0030.03719.33
5.4.310.0070.04319.36
5.4.300.0000.06719.37
5.4.290.0070.03319.30
5.4.280.0030.04019.35
5.4.270.0030.05019.04
5.4.260.0000.04019.21
5.4.250.0000.04019.29
5.4.240.0000.05019.23
5.4.230.0030.04319.37
5.4.220.0000.04019.37
5.4.210.0070.03319.07
5.4.200.0100.03719.34
5.4.190.0000.04319.11
5.4.180.0030.03719.00
5.4.170.0030.03719.28
5.4.160.0030.04319.05
5.4.150.0070.06719.27
5.4.140.0030.03716.58
5.4.130.0070.03016.50
5.4.120.0000.03716.50
5.4.110.0000.04016.64
5.4.100.0000.04016.64
5.4.90.0070.03316.48
5.4.80.0030.03716.47
5.4.70.0070.03016.70
5.4.60.0030.07016.47
5.4.50.0070.07016.52
5.4.40.0100.06716.65
5.4.30.0070.07316.55
5.4.20.0070.07016.55
5.4.10.0030.07716.51
5.4.00.0100.06315.94
5.3.290.0070.03314.88
5.3.280.0030.04014.77
5.3.270.0000.05014.86
5.3.260.0030.03714.87
5.3.250.0000.08014.72
5.3.240.0000.04014.78
5.3.230.0000.04014.75
5.3.220.0000.04014.78
5.3.210.0000.04714.91
5.3.200.0030.03714.90
5.3.190.0070.03314.96
5.3.180.0030.04014.86
5.3.170.0030.03714.87
5.3.160.0070.06714.83
5.3.150.0030.06314.99
5.3.140.0100.07014.77
5.3.130.0070.04314.96
5.3.120.0000.04314.84
5.3.110.0000.07714.90
5.3.100.0070.07714.33
5.3.90.0070.06714.23
5.3.80.0130.07014.36
5.3.70.0070.07014.31
5.3.60.0100.05314.21
5.3.50.0100.07314.16
5.3.40.0130.06314.26
5.3.30.0000.08014.02
5.3.20.0130.07314.00
5.3.10.0000.05013.87
5.3.00.0070.07713.92
5.2.170.0070.06011.21
5.2.160.0070.04711.40
5.2.150.0100.05711.32
5.2.140.0070.05711.23
5.2.130.0070.06011.27
5.2.120.0000.06311.14
5.2.110.0000.05311.40
5.2.100.0100.06011.22
5.2.90.0130.05311.18
5.2.80.0100.05711.29
5.2.70.0030.06311.41
5.2.60.0030.06011.34
5.2.50.0070.06011.25
5.2.40.0100.03311.11
5.2.30.0030.03311.04
5.2.20.0130.05711.07
5.2.10.0000.06011.05
5.2.00.0070.05310.79
5.1.60.0030.05710.79
5.1.50.0100.05010.79
5.1.40.0070.03010.79
5.1.30.0130.05010.79
5.1.20.0030.05710.79
5.1.10.0030.04310.79
5.1.00.0030.05010.79
5.0.50.0030.04010.79
5.0.40.0070.03710.79
5.0.30.0070.06010.79
5.0.20.0000.05010.79
5.0.10.0000.04710.79
5.0.00.0030.05710.79
4.4.90.0000.03710.79
4.4.80.0000.02310.79
4.4.70.0000.03310.79
4.4.60.0030.03310.79
4.4.50.0070.01710.79
4.4.40.0000.04310.79
4.4.30.0030.02310.79
4.4.20.0000.03710.79
4.4.10.0000.02310.79
4.4.00.0000.03710.79
4.3.110.0000.03710.79
4.3.100.0030.03310.79
4.3.90.0000.03710.79
4.3.80.0000.04310.79
4.3.70.0000.03310.79
4.3.60.0000.03710.79
4.3.50.0000.03010.79
4.3.40.0000.04010.79
4.3.30.0000.02710.79
4.3.20.0000.04010.79
4.3.10.0000.04010.79
4.3.00.0000.02710.79

preferences:
43.62 ms | 400 KiB | 5 Q