3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex3 = "%(.*?[?!.]{1,})[ ]{0,}(?=[A-Zd])|(.*?[?!.]{1,})$%"; $regex = "/[\w\s\d\-äöüß,]*belauscht[\w\s\d\-äöüß,]*[\.:!\?]/i"; $text = "Der Bundesnachrichtendienst (BND) belauscht angeblich seit mindestens zwei Jahren die Leitungen von 25 Internet-Providern, von deren Leitungen er am Datenknotenpunkt De-CIX in Frankfurt einige anzapft. Das berichtet das Nachrichtenmagzin Der Spiegel, der sich auf eine Anordnung zur Beschränkung des Brief-, Post- und Fernmeldegeheimnisses bezieht. Dieses vom Bundeskanzleramt und Bundesinnenministerium abgezeichnete vertrauliche Schreiben zur strategischen Fernmeldeaufklärung habe der BND an den Verband der deutschen Internetwirtschaft eco verschickt. Die rechtliche Grundlage ist im G10-Gesetz geregelt."; preg_match_all($regex, $text, $result); echo "<pre>"; print_r($result); echo "</pre>";

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.00716.63
8.3.50.0100.00916.49
8.3.40.0140.00418.88
8.3.30.0130.00618.84
8.3.20.0040.00418.73
8.3.10.0090.00020.48
8.3.00.0100.00019.50
8.2.180.0040.01116.38
8.2.170.0090.00622.96
8.2.160.0120.00620.77
8.2.150.0140.00024.18
8.2.140.0090.00024.66
8.2.130.0030.00526.16
8.2.120.0030.00518.96
8.2.110.0040.00421.25
8.2.100.0090.00317.91
8.2.90.0040.00419.42
8.2.80.0080.00019.38
8.2.70.0030.00617.63
8.2.60.0040.00717.80
8.2.50.0000.00818.07
8.2.40.0080.00017.95
8.2.30.0070.00317.92
8.2.20.0060.00317.75
8.2.10.0050.00217.70
8.2.00.0030.00517.82
8.1.280.0140.00725.92
8.1.270.0060.00324.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00623.98
8.1.230.0040.01120.79
8.1.220.0050.00317.74
8.1.210.0040.00418.79
8.1.200.0030.00617.35
8.1.190.0000.00717.39
8.1.180.0080.00018.10
8.1.170.0060.00318.75
8.1.160.0000.00718.91
8.1.150.0050.00318.63
8.1.140.0050.00317.48
8.1.130.0030.00317.83
8.1.120.0000.00717.41
8.1.110.0000.00717.50
8.1.100.0000.00717.54
8.1.90.0000.00717.55
8.1.80.0040.00417.44
8.1.70.0040.00417.43
8.1.60.0040.00417.57
8.1.50.0050.00217.45
8.1.40.0040.00417.61
8.1.30.0050.00317.71
8.1.20.0070.00017.73
8.1.10.0050.00317.69
8.1.00.0000.00817.63
8.0.300.0000.00820.04
8.0.290.0040.00416.88
8.0.280.0030.00318.46
8.0.270.0030.00317.29
8.0.260.0030.00316.95
8.0.250.0040.00417.07
8.0.240.0030.00316.96
8.0.230.0070.00017.07
8.0.220.0000.00716.99
8.0.210.0000.00816.96
8.0.200.0070.00016.94
8.0.190.0040.00416.93
8.0.180.0000.00716.99
8.0.170.0040.00416.94
8.0.160.0040.00416.93
8.0.150.0030.00516.80
8.0.140.0000.00716.96
8.0.130.0030.00313.38
8.0.120.0040.00416.93
8.0.110.0050.00316.87
8.0.100.0000.00716.79
8.0.90.0070.00016.96
8.0.80.0060.00917.04
8.0.70.0000.00716.84
8.0.60.0040.00416.87
8.0.50.0070.00016.77
8.0.30.0090.00916.94
8.0.20.0110.00917.26
8.0.10.0040.00417.07
8.0.00.0100.01216.90
7.4.330.0000.00513.09
7.4.320.0000.00716.75
7.4.300.0040.00416.66
7.4.290.0000.00816.79
7.4.280.0030.00316.70
7.4.270.0000.00716.64
7.4.260.0060.00013.37
7.4.250.0040.00416.54
7.4.240.0000.00716.75
7.4.230.0030.00316.78
7.4.220.0060.01016.61
7.4.210.0050.01216.71
7.4.200.0070.00016.84
7.4.190.0040.00416.52
7.4.160.0150.00916.67
7.4.150.0130.00416.63
7.4.140.0080.00916.68
7.4.130.0120.00816.46
7.4.120.0100.00716.46
7.4.110.0100.01316.80
7.4.100.0130.00716.68
7.4.90.0070.01016.59
7.4.80.0150.00619.39
7.4.70.0030.01416.79
7.4.60.0040.01316.71
7.4.50.0090.00216.40
7.4.40.0080.00816.70
7.4.30.0090.00916.71
7.4.00.0040.01415.29
7.3.330.0030.00313.08
7.3.320.0030.00313.10
7.3.310.0040.00416.29
7.3.300.0030.00316.30
7.3.290.0090.00916.27
7.3.280.0120.00416.27
7.3.270.0040.01216.30
7.3.260.0000.01816.61
7.3.250.0110.01016.49
7.3.240.0140.00316.43
7.3.230.0070.01016.39
7.3.210.0040.01416.34
7.3.200.0080.00816.38
7.3.190.0130.01016.53
7.3.180.0080.00816.50
7.3.170.0110.00616.34
7.3.160.0070.01016.38
7.3.120.0000.00815.07
7.3.10.0060.00616.67
7.3.00.0060.00616.72
7.2.330.0090.00916.64
7.2.320.0120.00616.64
7.2.310.0110.00716.72
7.2.300.0030.01316.59
7.2.290.0120.00916.50
7.2.130.0030.00717.00
7.2.120.0020.00916.98
7.2.110.0040.00916.95
7.2.100.0050.00816.91
7.2.90.0070.00516.87
7.2.80.0080.00516.95
7.2.70.0070.00516.84
7.2.60.0100.00416.92
7.2.50.0070.00516.93
7.2.40.0030.00917.09
7.2.30.0060.00817.01
7.2.20.0050.00717.03
7.2.10.0070.00617.00
7.2.00.0080.00517.77
7.1.250.0050.00415.79
7.1.200.0000.01415.75
7.1.100.0030.01418.25
7.1.70.0030.00717.02
7.1.60.0120.00919.40
7.1.50.0100.01617.19
7.1.00.0000.03722.33
7.0.200.0060.00614.99
7.0.140.0030.07722.07
7.0.120.0030.07322.05
7.0.60.0070.08720.02
7.0.50.0030.08317.75
7.0.40.0000.04720.16
7.0.30.0330.04320.26
7.0.20.0330.05320.22
7.0.10.0070.04720.25
7.0.00.0070.07320.27
5.6.210.0030.09020.54
5.6.200.0100.08318.27
5.6.190.0100.06320.55
5.6.180.0330.04320.57
5.6.170.0270.05020.48
5.6.160.0100.08720.45
5.6.150.0130.04718.18
5.6.140.0070.03718.24
5.6.130.0000.04318.14
5.6.120.0100.08021.04
5.6.110.0130.08021.00
5.6.100.0100.07020.88
5.6.90.0100.07320.89
5.6.80.0070.07720.50
5.5.350.4130.04320.40
5.5.340.0070.07717.94
5.5.330.0070.06020.21
5.5.320.0070.08320.34
5.5.310.0370.07320.18
5.5.300.0000.04717.98
5.5.290.0200.07317.95
5.5.280.0100.05320.77
5.5.270.0130.06720.79
5.5.260.0030.09020.75
5.5.250.0000.06020.49
5.5.240.0200.07320.16
5.4.450.0500.07019.49
5.4.440.0530.05719.57
5.4.430.0430.04019.47
5.4.420.0600.04319.31
5.4.410.0500.06719.16
5.4.400.0500.05319.25
5.4.390.0530.05019.32
5.4.380.0530.05718.91
5.4.370.0570.06719.09
5.4.360.0570.06318.87
5.4.350.0500.07019.09
5.4.340.0370.04019.31
5.4.320.0430.04019.13
5.4.310.0400.04319.01
5.4.300.0430.05719.21
5.4.290.0430.05018.98
5.4.280.0470.03719.08
5.4.270.0470.05318.94
5.4.260.0430.06718.98
5.4.250.0530.02719.23
5.4.240.0530.06318.87
5.4.230.0430.04019.09
5.4.220.0500.06719.13
5.4.210.0500.04018.94
5.4.200.0330.05019.13
5.4.190.0530.06019.21
5.4.180.0470.03718.84
5.4.170.0500.04319.21
5.4.160.0570.06018.92
5.4.150.0500.03718.84
5.4.140.0570.06016.31
5.4.130.0530.06016.45
5.4.120.0700.05716.34
5.4.110.0430.04016.40
5.4.100.0400.04716.52
5.4.90.0530.05016.45
5.4.80.0570.06016.52
5.4.70.0470.04016.33
5.4.60.0530.03316.56
5.4.50.0370.04016.35
5.4.40.0530.06016.25
5.4.30.0500.07016.42
5.4.20.0430.05316.37
5.4.10.0400.04716.50
5.4.00.0500.06015.95
5.3.290.0330.05014.74
5.3.280.0430.03314.75
5.3.270.0500.05714.57
5.3.260.0470.07314.61
5.3.250.0530.06014.71
5.3.240.0570.05314.82
5.3.230.0400.04314.50
5.3.220.0500.04314.48
5.3.210.0470.04014.67
5.3.200.0330.04314.63
5.3.190.0530.06714.57
5.3.180.0470.05014.48
5.3.170.0430.06314.53
5.3.160.0470.03714.67
5.3.150.0370.04714.63
5.3.140.0530.05314.55
5.3.130.0500.05314.63
5.3.120.0530.04714.59
5.3.110.0430.04714.55
5.3.100.0430.04314.07
5.3.90.0630.06314.23
5.3.80.0600.06313.92
5.3.70.0470.05313.98
5.3.60.0430.03314.11
5.3.50.0370.06013.85
5.3.40.0470.03714.05
5.3.30.0370.04014.06
5.3.20.0570.03013.69
5.3.10.0470.06713.65
5.3.00.0500.03313.53
5.2.170.0570.04011.30
5.2.160.0430.05311.05
5.2.150.0400.05711.07
5.2.140.0400.05311.30
5.2.130.0330.03011.01
5.2.120.0400.05011.00
5.2.110.0400.03711.02
5.2.100.0300.03711.00
5.2.90.0470.05311.10
5.2.80.0430.03311.04
5.2.70.0430.05711.02
5.2.60.0400.03011.12
5.2.50.0370.04711.09
5.2.40.0300.03310.90
5.2.30.0400.06010.98
5.2.20.0330.03010.87
5.2.10.0370.03310.75
5.2.00.0400.05010.63
5.1.60.0330.0539.97
5.1.50.0300.0239.90
5.1.40.0370.0479.95
5.1.30.0330.02710.24
5.1.20.0330.05310.28
5.1.10.0330.05010.00
5.1.00.0370.0309.97
5.0.50.0170.0278.59
5.0.40.0170.0208.29
5.0.30.0170.0338.34
5.0.20.0100.0308.35
5.0.10.0200.0378.18
5.0.00.0170.0378.14
4.4.90.0130.0177.65
4.4.80.0170.0137.65
4.4.70.0100.0177.65
4.4.60.0130.0307.65
4.4.50.0200.0277.65
4.4.40.0170.0407.65
4.4.30.0130.0237.65
4.4.20.0230.0277.65
4.4.10.0170.0307.65
4.4.00.0170.0237.65
4.3.110.0170.0137.65
4.3.100.0170.0277.65
4.3.90.0100.0207.65
4.3.80.0200.0477.65
4.3.70.0130.0277.65
4.3.60.0200.0137.65
4.3.50.0130.0177.65
4.3.40.0100.0277.65
4.3.30.0070.0177.65
4.3.20.0130.0137.65
4.3.10.0100.0337.65
4.3.00.0100.0207.65

preferences:
38.52 ms | 401 KiB | 5 Q