3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches=array(); preg_match_all('/(.*?):(?:".*?"|.*?)(?=\r?\n|\r\n?)/s', 'name: dc_tun_2943 remote-gateway: 83.113.63.244:4500 lifetime/rekey: 21600/9358 inbound:" spi: 0a23d4b9 enc: aes 0f076cac2c56262e87595b89628394ff auth: sha1 dfe2b661f857725fbcf7f14976dae6ded3f4e824" outbound:" spi: cf34c010 enc: aes d463c815a141f714dbc58cdddde04bec auth: sha1 e5af683ab3f83634bca4eeb3ac081e7a7de2e5a1" ', $matches); var_dump($matches);

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.0100.00716.50
8.3.50.0160.00016.42
8.3.40.0140.00718.77
8.3.30.0140.00719.10
8.3.20.0030.00620.33
8.3.10.0080.00021.90
8.3.00.0040.00418.96
8.2.180.0100.00716.63
8.2.170.0120.00322.96
8.2.160.0070.01020.57
8.2.150.0030.00524.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0070.00021.08
8.2.110.0060.00322.40
8.2.100.0060.00617.78
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0000.00817.91
8.2.50.0040.00418.07
8.2.40.0000.00718.22
8.2.30.0000.00817.98
8.2.20.0030.00517.70
8.2.10.0070.00018.01
8.2.00.0070.00318.05
8.1.280.0030.01325.92
8.1.270.0040.00420.33
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0060.00323.80
8.1.230.0110.00019.11
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0040.00717.35
8.1.190.0050.00317.35
8.1.180.0000.00818.10
8.1.170.0040.00418.56
8.1.160.0040.00421.89
8.1.150.0040.00418.84
8.1.140.0000.00817.55
8.1.130.0040.00417.80
8.1.120.0000.01117.60
8.1.110.0000.00717.53
8.1.100.0050.00217.43
8.1.90.0000.00717.61
8.1.80.0040.00417.45
8.1.70.0030.00517.55
8.1.60.0060.00317.65
8.1.50.0030.00617.58
8.1.40.0000.00817.67
8.1.30.0000.00817.71
8.1.20.0030.00617.73
8.1.10.0040.00417.69
8.1.00.0000.00817.49
8.0.300.0050.00218.77
8.0.290.0000.00716.75
8.0.280.0030.00318.32
8.0.270.0070.00017.21
8.0.260.0000.00617.07
8.0.250.0030.00317.05
8.0.240.0040.00416.95
8.0.230.0000.00716.94
8.0.220.0030.00416.86
8.0.210.0000.00716.97
8.0.200.0030.00317.04
8.0.190.0050.00316.98
8.0.180.0040.00416.95
8.0.170.0060.00317.04
8.0.160.0040.00416.88
8.0.150.0000.00716.82
8.0.140.0000.00716.95
8.0.130.0030.00313.38
8.0.120.0050.00316.85
8.0.110.0040.00416.95
8.0.100.0000.00716.95
8.0.90.0050.00216.96
8.0.80.0060.01017.00
8.0.70.0040.00416.87
8.0.60.0040.00416.93
8.0.50.0050.00216.88
8.0.30.0100.01117.13
8.0.20.0070.01417.40
8.0.10.0000.00717.00
8.0.00.0100.00816.77
7.4.330.0030.00315.03
7.4.320.0060.00016.67
7.4.300.0040.00416.62
7.4.290.0040.00716.75
7.4.280.0000.00816.64
7.4.270.0070.00016.80
7.4.260.0070.00016.63
7.4.250.0000.00816.73
7.4.240.0040.00416.53
7.4.230.0040.00416.77
7.4.220.0000.02016.73
7.4.210.0060.00916.73
7.4.200.0040.00416.46
7.4.160.0160.00016.72
7.4.150.0060.01217.40
7.4.140.0100.00917.86
7.4.130.0100.00916.73
7.4.120.0160.00316.55
7.4.110.0160.00316.46
7.4.100.0090.00916.60
7.4.90.0030.01316.58
7.4.80.0090.00819.39
7.4.70.0070.01116.61
7.4.60.0060.01216.65
7.4.50.0050.00316.67
7.4.40.0060.01116.54
7.4.30.0060.01216.72
7.4.10.0130.00714.84
7.4.00.0110.00514.99
7.3.330.0000.00713.04
7.3.320.0060.00012.94
7.3.310.0030.00316.13
7.3.300.0030.00316.29
7.3.290.0050.00916.30
7.3.280.0080.01116.31
7.3.270.0140.00317.40
7.3.260.0030.01516.30
7.3.250.0100.01016.48
7.3.240.0100.00716.72
7.3.230.0130.01116.53
7.3.210.0000.02116.69
7.3.200.0110.00519.39
7.3.190.0070.01016.48
7.3.180.0030.01316.38
7.3.170.0140.00816.59
7.3.160.0110.00716.70
7.3.130.0060.01314.79
7.3.120.0120.00614.99
7.3.110.0030.01314.38
7.3.100.0100.00314.75
7.3.90.0060.01014.82
7.3.80.0090.00315.03
7.3.70.0040.01114.70
7.3.60.0060.01214.90
7.3.50.0060.00314.86
7.3.40.0000.01314.92
7.3.30.0090.00614.92
7.3.20.0070.00716.53
7.3.10.0040.00716.47
7.3.00.0070.00716.62
7.2.330.0130.01116.75
7.2.320.0150.00916.43
7.2.310.0100.00616.63
7.2.300.0090.00916.55
7.2.290.0050.01216.64
7.2.260.0000.02015.07
7.2.250.0110.00815.14
7.2.240.0090.00614.80
7.2.230.0070.01015.08
7.2.220.0080.00615.19
7.2.210.0030.00615.10
7.2.200.0070.00715.04
7.2.190.0060.00914.96
7.2.180.0110.00414.77
7.2.170.0060.01015.05
7.2.160.0090.00915.04
7.2.150.0000.01617.01
7.2.140.0030.01216.98
7.2.130.0030.01316.91
7.2.120.0090.00616.84
7.2.110.0040.00716.66
7.2.100.0030.00616.95
7.2.90.0060.00616.97
7.2.80.0150.00216.77
7.2.70.0040.00717.00
7.2.60.0060.00616.89
7.2.50.0050.00517.02
7.2.40.0040.01217.09
7.2.30.0070.00716.71
7.2.20.0040.00817.03
7.2.10.0060.00916.97
7.2.00.0080.00617.95
7.1.330.0030.01016.05
7.1.320.0100.00715.89
7.1.310.0030.01015.97
7.1.300.0030.01115.82
7.1.290.0000.00815.96
7.1.280.0090.00915.85
7.1.270.0060.00615.68
7.1.260.0000.00915.89
7.1.250.0120.00616.07
7.1.240.0060.00615.81
7.1.230.0030.01015.91
7.1.220.0030.01015.93
7.1.210.0100.00315.89
7.1.200.0050.00715.88
7.1.190.0000.00916.00
7.1.180.0000.01315.84
7.1.170.0090.00615.91
7.1.160.0070.00415.93
7.1.150.0080.00015.83
7.1.140.0100.00315.70
7.1.130.0080.00415.93
7.1.120.0030.01315.76
7.1.110.0080.00415.98
7.1.100.0070.00317.10
7.1.90.0070.00715.86
7.1.80.0000.01515.97
7.1.70.0070.00616.58
7.1.60.0090.00716.54
7.1.50.0100.00716.41
7.1.40.0070.00416.03
7.1.30.0030.01315.79
7.1.20.0000.01415.98
7.1.10.0080.00015.66
7.1.00.0060.03819.23
7.0.330.0040.00815.54
7.0.320.0070.00715.50
7.0.310.0030.00615.17
7.0.300.0030.01015.38
7.0.290.0110.00415.29
7.0.280.0080.00315.28
7.0.270.0000.01015.56
7.0.260.0060.00315.76
7.0.250.0040.01115.60
7.0.240.0060.00315.60
7.0.230.0030.00815.17
7.0.220.0040.00815.52
7.0.210.0040.01115.47
7.0.200.0030.00815.99
7.0.190.0030.01315.63
7.0.180.0000.01415.47
7.0.170.0050.00515.49
7.0.160.0060.00615.63
7.0.150.0100.00315.54
7.0.140.0030.00515.51
7.0.130.0070.00715.66
7.0.120.0030.00515.39
7.0.110.0100.04717.61
7.0.100.0030.02517.83
7.0.90.0150.03917.69
7.0.80.0100.02917.70
7.0.70.0170.02717.52
7.0.60.0180.03917.61
7.0.50.0220.01817.68
7.0.40.0050.02516.58
7.0.30.0020.03716.67
7.0.20.0100.01816.46
7.0.10.0020.02716.66
7.0.00.0050.02216.54
5.6.400.0030.00614.11
5.6.390.0060.01214.29
5.6.380.0030.01014.21
5.6.370.0060.00614.41
5.6.360.0090.00613.92
5.6.350.0000.01013.95
5.6.340.0100.00714.41
5.6.330.0000.01514.55
5.6.320.0080.00414.51
5.6.310.0090.00614.48
5.6.300.0070.00414.64
5.6.290.0000.00914.37
5.6.280.0070.03817.71
5.6.270.0100.00314.18
5.6.260.0090.02917.46
5.6.250.0090.02317.54
5.6.240.0110.02017.39
5.6.230.0030.02417.50
5.6.220.0070.02217.38
5.6.210.0030.04017.54
5.6.200.0020.03717.47
5.6.190.0030.03317.60
5.6.180.0030.02317.35
5.6.170.0070.02217.35
5.6.160.0020.02517.46
5.6.150.0010.02617.43
5.6.140.0040.02217.50
5.6.130.0110.02617.45
5.6.120.0110.01817.49
5.6.110.0080.02017.37
5.6.100.0090.02117.47
5.6.90.0050.02417.45
5.6.80.0030.02317.02
5.6.70.0070.02417.05
5.6.60.0090.04116.93
5.6.50.0030.04617.19
5.6.40.0090.02017.06
5.6.30.0070.02517.13
5.6.20.0090.03717.10
5.6.10.0060.04017.15
5.6.00.0050.04817.02
5.5.380.0040.03117.38
5.5.370.0030.02917.22
5.5.360.0050.02317.07
5.5.350.0070.03717.33
5.5.340.0050.02817.60
5.5.330.0060.02317.32
5.5.320.0050.02717.67
5.5.310.0030.02317.58
5.5.300.0050.02217.60
5.5.290.0050.02817.43
5.5.280.0030.02517.61
5.5.270.0110.02017.68
5.5.260.0060.02417.42
5.5.250.0000.02517.37
5.5.240.0100.01617.33
5.5.230.0120.01717.28
5.5.220.0000.03017.20
5.5.210.0100.03917.39
5.5.200.0100.03117.36
5.5.190.0120.04017.27
5.5.180.0030.04717.21
5.5.170.0090.00314.05
5.5.160.0030.03117.17
5.5.150.0070.04517.08
5.5.140.0010.04817.35
5.5.130.0090.04017.14
5.5.120.0060.04117.18
5.5.110.0070.04117.28
5.5.100.0120.02617.26
5.5.90.0070.03817.12
5.5.80.0050.03917.17
5.5.70.0050.02517.17
5.5.60.0100.03917.09
5.5.50.0100.04017.02
5.5.40.0100.03717.29
5.5.30.0090.03517.08
5.5.20.0070.02717.18
5.5.10.0020.04617.14
5.5.00.0120.04017.11
5.4.450.0020.02615.85
5.4.440.0070.01815.83
5.4.430.0100.02515.83
5.4.420.0030.02515.80
5.4.410.0070.02015.74
5.4.400.0020.02215.64
5.4.390.0060.04015.71
5.4.380.0050.03015.68
5.4.370.0050.04215.65
5.4.360.0050.04215.82
5.4.350.0060.04115.71
5.4.340.0080.03815.64
5.4.330.0060.00612.34
5.4.320.0030.04215.75
5.4.310.0020.03015.65
5.4.300.0040.03815.72
5.4.290.0030.04415.71
5.4.280.0030.04715.66
5.4.270.0090.03715.75
5.4.260.0100.03615.67
5.4.250.0140.03215.64
5.4.240.0080.03715.75
5.4.230.0090.04015.75
5.4.220.0050.02015.80
5.4.210.0090.03815.64
5.4.200.0080.03615.81
5.4.190.0110.01815.79
5.4.180.0050.04015.72
5.4.170.0070.04415.65
5.4.160.0090.03715.64
5.4.150.0080.02315.78
5.4.140.0030.04114.40
5.4.130.0080.03514.44
5.4.120.0130.03214.27
5.4.110.0100.03014.42
5.4.100.0060.03814.29
5.4.90.0050.04314.43
5.4.80.0030.04014.28
5.4.70.0040.03914.28
5.4.60.0100.02014.30
5.4.50.0080.03514.27
5.4.40.0030.03714.32
5.4.30.0020.02414.22
5.4.20.0080.03714.42
5.4.10.0080.03814.29
5.4.00.0050.04514.12
5.3.290.0030.05014.74
5.3.280.0070.04014.69
5.3.270.0070.07714.70
5.3.260.0030.08014.49
5.3.250.0070.05314.55
5.3.240.0070.08014.49
5.3.230.0100.05714.49
5.3.220.0130.06714.50
5.3.210.0070.05014.47
5.3.200.0170.06014.41
5.3.190.0070.08314.41
5.3.180.0070.07714.65
5.3.170.0030.08014.62
5.3.160.0100.06714.60
5.3.150.0100.06314.57
5.3.140.0100.07014.48
5.3.130.0100.07014.57
5.3.120.0000.05014.61
5.3.110.0130.04714.51
5.3.100.0070.05713.94
5.3.90.0000.07713.80
5.3.80.0030.07013.90
5.3.70.0100.07014.09
5.3.60.0100.07313.96
5.3.50.0070.07313.82
5.3.40.0070.05313.87
5.3.30.0000.05013.91
5.3.20.0030.07013.62
5.3.10.0000.06013.73
5.3.00.0070.06713.69
5.2.170.0130.05711.88
5.2.160.0070.06011.88
5.2.150.0170.05011.88
5.2.140.0000.06311.88
5.2.130.0030.06011.88
5.2.120.0030.06011.88
5.2.110.0070.05311.88
5.2.100.0030.03711.88
5.2.90.0070.06011.88
5.2.80.0000.05711.88
5.2.70.0070.05011.88
5.2.60.0000.05711.88
5.2.50.0030.04011.88
5.2.40.0000.03711.88
5.2.30.0070.03311.88
5.2.20.0100.02711.88
5.2.10.0070.05011.88
5.2.00.0030.04311.88
5.1.60.0070.05011.88
5.1.50.0000.03711.88
5.1.40.0070.05011.88
5.1.30.0070.05711.88
5.1.20.0000.03711.88
5.1.10.0000.05311.88
5.1.00.0070.05711.88
5.0.50.0030.04011.88
5.0.40.0030.04711.88
5.0.30.0070.06011.88
5.0.20.0030.04311.88
5.0.10.0030.04311.88
5.0.00.0030.06011.88
4.4.90.0000.03711.88
4.4.80.0000.03711.88
4.4.70.0000.04011.88
4.4.60.0100.02711.88
4.4.50.0030.03311.88
4.4.40.0030.03011.88
4.4.30.0000.03711.88
4.4.20.0030.03011.88
4.4.10.0000.03311.88
4.4.00.0000.05711.88
4.3.110.0030.03711.88
4.3.100.0030.03311.88
4.3.90.0000.03711.88
4.3.80.0100.04711.88
4.3.70.0000.03711.88
4.3.60.0070.03011.88
4.3.50.0030.02711.88
4.3.40.0030.04311.88
4.3.30.0000.04011.88
4.3.20.0000.03711.88
4.3.10.0000.02311.88
4.3.00.0070.01711.88

preferences:
68.78 ms | 400 KiB | 5 Q