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("/\{(.*)\}",$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.60.0070.01118.55
8.3.50.0110.00922.24
8.3.40.0110.00418.82
8.3.30.0090.00620.20
8.3.20.0070.00020.30
8.3.10.0040.00421.95
8.3.00.0040.00422.22
8.2.180.0140.00316.63
8.2.170.0140.00722.96
8.2.160.0040.01122.21
8.2.150.0050.00324.18
8.2.140.0000.00924.66
8.2.130.0040.00426.16
8.2.120.0040.00419.65
8.2.110.0090.00022.14
8.2.100.0070.00719.75
8.2.90.0000.00819.08
8.2.80.0000.00719.41
8.2.70.0040.00417.50
8.2.60.0030.00617.92
8.2.50.0000.00918.07
8.2.40.0050.00318.09
8.2.30.0090.00018.11
8.2.20.0070.00017.80
8.2.10.0050.00317.73
8.2.00.0000.00917.84
8.1.280.0070.01425.92
8.1.270.0040.00424.66
8.1.260.0030.00626.35
8.1.250.0050.00328.09
8.1.240.0000.00923.84
8.1.230.0070.00419.10
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0060.00317.48
8.1.190.0030.00617.16
8.1.180.0000.00819.13
8.1.170.0080.00018.75
8.1.160.0050.00222.17
8.1.150.0030.00618.74
8.1.140.0070.00017.55
8.1.130.0000.00717.87
8.1.120.0000.00717.60
8.1.110.0000.00717.46
8.1.100.0040.00417.53
8.1.90.0040.00417.49
8.1.80.0000.00717.45
8.1.70.0000.00717.51
8.1.60.0000.00917.75
8.1.50.0040.00417.55
8.1.40.0080.00017.58
8.1.30.0000.00817.65
8.1.20.0050.00317.60
8.1.10.0040.00417.57
8.1.00.0000.00817.58
8.0.300.0000.00718.77
8.0.290.0000.00817.05
8.0.280.0030.00318.43
8.0.270.0040.00417.27
8.0.260.0050.00316.89
8.0.250.0020.00517.16
8.0.240.0040.00417.15
8.0.230.0040.00417.02
8.0.220.0030.00316.96
8.0.210.0050.00216.93
8.0.200.0030.00317.14
8.0.190.0000.00717.12
8.0.180.0030.00616.97
8.0.170.0040.00416.93
8.0.160.0070.00016.90
8.0.150.0070.00016.93
8.0.140.0000.00717.04
8.0.130.0030.00313.45
8.0.120.0060.00317.06
8.0.110.0050.00216.95
8.0.100.0080.00017.02
8.0.90.0050.00317.07
8.0.80.0130.00717.07
8.0.70.0030.00417.12
8.0.60.0040.00416.92
8.0.50.0000.00816.89
8.0.30.0060.01617.21
8.0.20.0090.00817.40
8.0.10.0070.00017.21
8.0.00.0040.01516.73
7.4.330.0000.00515.00
7.4.320.0000.00616.80
7.4.300.0070.00016.80
7.4.290.0000.00716.56
7.4.280.0040.00416.66
7.4.270.0070.00016.63
7.4.260.0000.00816.76
7.4.250.0030.00316.73
7.4.240.0000.00716.68
7.4.230.0040.00316.67
7.4.220.0030.01416.70
7.4.210.0060.00916.77
7.4.200.0000.00716.86
7.4.190.0000.00716.75
7.4.160.0120.00616.66
7.4.150.0040.01317.40
7.4.140.0040.01617.86
7.4.130.0070.00916.73
7.4.120.0090.01016.76
7.4.110.0110.00616.63
7.4.100.0040.01416.71
7.4.90.0170.00616.50
7.4.80.0070.01319.39
7.4.70.0090.00916.84
7.4.60.0100.00716.57
7.4.50.0090.00016.43
7.4.40.0080.00822.77
7.4.30.0030.01316.80
7.4.00.0080.00915.21
7.3.330.0030.00313.18
7.3.320.0000.00513.24
7.3.310.0070.00016.36
7.3.300.0040.00416.38
7.3.290.0090.00616.41
7.3.280.0020.01316.35
7.3.270.0130.01017.40
7.3.260.0100.00716.36
7.3.250.0090.00916.44
7.3.240.0070.01116.68
7.3.230.0140.00316.57
7.3.210.0070.01116.36
7.3.200.0050.01719.39
7.3.190.0150.00316.42
7.3.180.0000.01616.74
7.3.170.0100.01316.49
7.3.160.0080.00816.61
7.3.120.0080.00814.81
7.3.110.0110.00715.09
7.3.100.0120.00314.80
7.3.90.0110.00714.78
7.3.80.0080.00814.95
7.3.70.0060.01014.55
7.3.60.0140.00314.91
7.3.50.0060.00914.89
7.3.40.0070.01014.73
7.3.30.0000.01314.89
7.3.20.0100.00316.60
7.3.10.0110.00316.77
7.3.00.0100.00716.49
7.2.330.0110.00716.59
7.2.320.0090.00916.49
7.2.310.0000.01916.61
7.2.300.0100.01016.61
7.2.290.0130.00316.56
7.2.250.0120.00814.83
7.2.240.0040.01515.21
7.2.230.0030.01715.08
7.2.220.0040.01115.00
7.2.210.0030.01315.07
7.2.200.0110.00014.96
7.2.190.0030.00914.81
7.2.180.0090.00614.66
7.2.170.0100.00714.91
7.2.00.0110.00419.46
7.1.330.0100.00315.39
7.1.320.0040.01215.98
7.1.310.0070.00716.00
7.1.300.0090.00315.47
7.1.290.0030.01216.00
7.1.280.0030.01415.79
7.1.270.0030.01215.98
7.1.260.0030.01316.02
7.1.200.0090.00615.73
7.1.100.0070.01018.40
7.1.70.0030.00617.31
7.1.60.0070.01719.43
7.1.50.0030.02017.10
7.1.00.0000.04022.36
7.0.200.0080.00016.80
7.0.140.0030.07721.93
7.0.60.0100.05020.00
7.0.50.0000.04317.91
7.0.40.0100.04020.29
7.0.30.0270.05320.48
7.0.20.0170.04720.11
7.0.10.0070.04020.11
7.0.00.0100.08320.22
5.6.280.0000.07720.96
5.6.210.0170.05320.75
5.6.200.0070.08018.43
5.6.190.0030.09020.57
5.6.180.0030.08320.64
5.6.170.0270.04020.60
5.6.160.0070.08720.80
5.6.150.0030.05718.41
5.6.140.0070.07718.32
5.6.130.0070.05718.30
5.6.120.0100.07721.13
5.6.110.0030.04321.27
5.6.100.0170.08021.29
5.6.90.0100.07021.33
5.6.80.0200.06720.68
5.5.350.0030.07020.50
5.5.340.0000.09018.17
5.5.330.0100.05720.62
5.5.320.0030.05020.50
5.5.310.0270.06020.60
5.5.300.0000.08718.10
5.5.290.0030.08318.27
5.5.280.0330.06721.13
5.5.270.0030.04720.83
5.5.260.0130.07020.91
5.5.250.0070.05720.77
5.5.240.0230.07320.52
5.4.450.0530.05019.48
5.4.440.0200.04319.49
5.4.430.0500.04719.44
5.4.420.0070.05719.69
5.4.410.0100.05319.59
5.4.400.0170.04319.39
5.4.390.0070.05719.15
5.4.380.0070.06019.16
5.4.370.0070.05719.15
5.4.360.0270.04719.16
5.4.350.0040.03712.17
5.4.340.0060.03712.17
5.4.320.0090.03312.65
5.4.310.0040.03912.65
5.4.300.0040.03912.66
5.4.290.0050.03912.65
5.4.280.0040.03712.54
5.4.270.0080.03412.54
5.4.260.0100.05012.54
5.4.250.0060.03812.54
5.4.240.0130.04319.19
5.4.230.0030.05719.06
5.4.220.0100.07719.10
5.4.210.0000.06019.11
5.4.200.0100.04718.96
5.4.190.0130.04719.10
5.4.180.0070.05019.00
5.4.170.0070.05019.13
5.4.160.0100.05319.14
5.4.150.0100.05318.95
5.4.140.0170.04316.72
5.4.130.0070.04716.75
5.4.120.0130.04016.50
5.4.110.0000.06016.58
5.4.100.0130.04316.72
5.4.90.0030.05316.65
5.4.80.0070.04716.55
5.4.70.0030.07316.52
5.4.60.0000.05316.64
5.4.50.0130.04716.53
5.4.40.0030.05016.80
5.4.30.0170.05016.74
5.4.20.0070.06016.50
5.4.10.0070.05316.59
5.4.00.0230.03315.98
5.3.290.0060.03812.91
5.3.280.0070.05014.98
5.3.270.0130.04714.84
5.3.260.0070.05014.75
5.3.250.0030.05714.73
5.3.240.0070.05014.89
5.3.230.0130.04314.91
5.3.220.0030.05315.06
5.3.210.0100.05015.02
5.3.200.0170.05714.93
5.3.190.0100.04714.75
5.3.180.0100.04715.07
5.3.170.0070.05015.03
5.3.160.0070.04714.84
5.3.150.0130.04715.01
5.3.140.0030.05314.68
5.3.130.0030.05314.92
5.3.120.0100.04714.80
5.3.110.0100.04714.91
5.3.100.0130.04314.31
5.3.90.0070.04714.05
5.3.80.0170.05714.30
5.3.70.0030.05714.21
5.3.60.0030.05314.19
5.3.50.0100.04314.15
5.3.40.0130.04314.24
5.3.30.0070.04714.09
5.3.20.0030.05013.88
5.3.10.0030.05313.83
5.3.00.0170.04013.73
5.2.170.0030.04311.43
5.2.160.0030.04011.30
5.2.150.0100.03711.31
5.2.140.0070.05011.50
5.2.130.0100.03711.46
5.2.120.0130.05011.28
5.2.110.0070.05311.45
5.2.100.0030.04011.45
5.2.90.0100.03711.37
5.2.80.0030.04311.11
5.2.70.0030.04311.18
5.2.60.0030.04311.30
5.2.50.0030.04011.28
5.2.40.0030.04011.02
5.2.30.0030.04011.32
5.2.20.0030.04011.36
5.2.10.0030.04011.03
5.2.00.0170.02710.97
5.1.60.0100.04310.20
5.1.50.0070.03010.32
5.1.40.0030.03310.20
5.1.30.0000.03710.51
5.1.20.0070.03310.77
5.1.10.0030.03310.47
5.1.00.0000.03710.46
5.0.50.0000.0308.92
5.0.40.0030.0278.65
5.0.30.0030.0408.71
5.0.20.0070.0208.72
5.0.10.0070.0238.43
5.0.00.0030.0408.50
4.4.90.0030.0306.96
4.4.80.0030.0206.83
4.4.70.0000.0236.83
4.4.60.0030.0206.83
4.4.50.0030.0206.83
4.4.40.0000.0336.83
4.4.30.0070.0176.83
4.4.20.0000.0236.83
4.4.10.0030.0206.96
4.4.00.0070.0306.96
4.3.110.0000.0236.96
4.3.100.0000.0236.96
4.3.90.0000.0206.96
4.3.80.0030.0306.96
4.3.70.0070.0136.96
4.3.60.0000.0206.96
4.3.50.0000.0236.96
4.3.40.0030.0306.96
4.3.30.0030.0206.96
4.3.20.0000.0236.96
4.3.10.0000.0236.96
4.3.00.0000.01314.48

preferences:
46.07 ms | 401 KiB | 5 Q