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); 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.70.0130.00617.00
8.3.60.0170.00318.30
8.3.50.0090.01022.17
8.3.40.0120.00318.73
8.3.30.0110.00720.17
8.3.20.0140.00720.10
8.3.10.0060.00322.09
8.3.00.0040.00422.35
8.2.180.0110.00718.54
8.2.170.0070.01022.96
8.2.160.0050.00920.41
8.2.150.0080.00024.18
8.2.140.0000.00924.66
8.2.130.0050.00326.16
8.2.120.0080.00019.54
8.2.110.0090.00022.21
8.2.100.0040.00819.40
8.2.90.0040.00419.08
8.2.80.0040.00419.28
8.2.70.0060.00317.63
8.2.60.0040.00417.80
8.2.50.0000.00918.07
8.2.40.0000.00818.20
8.2.30.0040.00418.10
8.2.20.0030.00617.75
8.2.10.0050.00317.82
8.2.00.0000.01017.85
8.1.280.0150.00625.92
8.1.270.0000.00824.66
8.1.260.0070.00026.35
8.1.250.0110.00028.09
8.1.240.0070.00323.98
8.1.230.0090.00319.14
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0000.00917.41
8.1.180.0050.00319.13
8.1.170.0000.00818.51
8.1.160.0070.00022.17
8.1.150.0060.00318.74
8.1.140.0040.00417.53
8.1.130.0040.00417.48
8.1.120.0000.00717.58
8.1.110.0070.00017.55
8.1.100.0070.00017.45
8.1.90.0040.00417.58
8.1.80.0030.00517.58
8.1.70.0000.00717.52
8.1.60.0080.00017.62
8.1.50.0000.00817.64
8.1.40.0040.00417.52
8.1.30.0040.00417.75
8.1.20.0050.00317.69
8.1.10.0000.00817.75
8.1.00.0040.00417.63
8.0.300.0000.00718.77
8.0.290.0070.00017.05
8.0.280.0080.00018.48
8.0.270.0000.00717.24
8.0.260.0060.00316.88
8.0.250.0000.00716.93
8.0.240.0020.00516.93
8.0.230.0040.00416.95
8.0.220.0030.00317.03
8.0.210.0070.00016.90
8.0.200.0000.00617.07
8.0.190.0000.00717.06
8.0.180.0030.00916.98
8.0.170.0040.00416.92
8.0.160.0030.00316.99
8.0.150.0040.00416.90
8.0.140.0000.00716.99
8.0.130.0000.00513.35
8.0.120.0000.00716.91
8.0.110.0040.00417.06
8.0.100.0040.00417.02
8.0.90.0040.00417.06
8.0.80.0060.01216.93
8.0.70.0030.00517.02
8.0.60.0000.00817.02
8.0.50.0040.00416.87
8.0.30.0140.00617.18
8.0.20.0110.00717.40
8.0.10.0040.00417.01
8.0.00.0100.00816.79
7.4.330.0000.00515.00
7.4.320.0030.00316.77
7.4.300.0000.00616.73
7.4.290.0000.00716.77
7.4.280.0000.00716.64
7.4.270.0030.00316.68
7.4.260.0000.00716.64
7.4.250.0000.00716.62
7.4.240.0020.00616.69
7.4.230.0050.00216.84
7.4.220.0110.00616.64
7.4.210.0100.00716.66
7.4.200.0000.00616.59
7.4.190.0070.00016.82
7.4.160.0090.00616.61
7.4.150.0040.01217.40
7.4.140.0170.00217.86
7.4.130.0120.00516.53
7.4.120.0080.01016.78
7.4.110.0140.00316.55
7.4.100.0140.00716.50
7.4.90.0150.00316.67
7.4.80.0200.00319.39
7.4.70.0100.01016.68
7.4.60.0030.01316.41
7.4.50.0090.00016.37
7.4.40.0120.00322.77
7.4.30.0120.01016.63
7.4.00.0100.00715.27
7.3.330.0030.00313.09
7.3.320.0050.00013.21
7.3.310.0030.00316.26
7.3.300.0060.00316.32
7.3.290.0030.01716.27
7.3.280.0090.00816.29
7.3.270.0090.01317.40
7.3.260.0060.01316.54
7.3.250.0080.01116.65
7.3.240.0090.00916.75
7.3.230.0060.01216.39
7.3.210.0080.00816.30
7.3.200.0100.00719.39
7.3.190.0060.01216.40
7.3.180.0110.00616.32
7.3.170.0100.01316.51
7.3.160.0160.00016.60
7.3.120.0030.01014.92
7.3.10.0030.00916.62
7.3.00.0060.00616.63
7.2.330.0120.00616.52
7.2.320.0060.01016.73
7.2.310.0090.00916.55
7.2.300.0030.01316.64
7.2.290.0100.00716.75
7.2.130.0030.01316.63
7.2.120.0070.00716.82
7.2.110.0060.00616.89
7.2.100.0030.01016.93
7.2.90.0070.00716.90
7.2.80.0070.00716.63
7.2.70.0070.01016.57
7.2.60.0030.01316.82
7.2.50.0070.01016.86
7.2.40.0090.00616.88
7.2.30.0090.00316.98
7.2.20.0000.01316.63
7.2.10.0040.00816.85
7.2.00.0090.00318.24
7.1.250.0000.01215.94
7.1.100.0070.01018.13
7.1.70.0070.00017.28
7.1.60.0030.02119.43
7.1.50.0090.01517.15
7.1.00.0070.06722.43
7.0.200.0000.00716.87
7.0.140.0000.07722.09
7.0.60.0130.07319.80
7.0.50.0030.05317.89
7.0.40.0100.09020.12
7.0.30.0530.06720.15
7.0.20.0230.07020.18
7.0.10.0230.04320.23
7.0.00.0130.07320.12
5.6.280.0100.06721.23
5.6.210.0100.07720.76
5.6.200.0130.07718.38
5.6.190.0000.05320.70
5.6.180.3470.04020.66
5.6.170.0230.08320.73
5.6.160.0100.03320.62
5.6.150.0000.04718.43
5.6.140.0030.08718.32
5.6.130.0070.03718.33
5.6.120.0030.04321.30
5.6.110.0100.07721.20
5.6.100.0170.05321.13
5.6.90.0170.07721.13
5.6.80.0000.07020.68
5.6.70.0300.06320.54
5.5.350.0230.08020.54
5.5.340.0000.08718.21
5.5.330.0030.04020.45
5.5.320.0330.05720.54
5.5.310.0200.04020.48
5.5.300.0130.06718.13
5.5.290.0100.08318.29
5.5.280.0030.04321.09
5.5.270.0000.07320.99
5.5.260.0070.08020.90
5.5.250.0130.05720.84
5.5.240.0300.05720.42
5.4.450.0600.07019.78
5.4.440.0830.06719.62
5.4.430.1000.05319.62
5.4.420.0900.05019.78
5.4.410.0970.05719.63
5.4.400.1070.05018.71
5.4.390.1200.06018.88
5.4.380.0230.05718.68
5.4.370.0130.05718.92
5.4.360.0300.04718.92
5.4.350.0080.05012.18
5.4.340.0090.03512.17
5.4.320.0070.03512.66
5.4.310.0070.03712.65
5.4.300.0040.04912.66
5.4.290.0040.03912.65
5.4.280.0040.03612.54
5.4.270.0080.03812.54
5.4.260.0040.04212.54
5.4.250.0090.03312.54
5.3.290.0060.03812.92
4.3.00.0000.0237.38

preferences:
50.89 ms | 401 KiB | 5 Q