3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domains[] = 'www.wp.pl'; $domains[] = 'http://www.onet.pl/plp/costam'; $domains[] = 'onet.pl'; $domains[] = 'https://redtube.com/porn'; print_r(array_map(function ($domain) { preg_match('#(https?:\/\/)?(www\.)?([^\/]+)#', $domain, $matches); return $matches[3] ?? null; }, $domains));

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.0100.00618.96
8.3.30.0110.00318.76
8.3.20.0040.00420.25
8.3.10.0040.00422.06
8.3.00.0040.00423.70
8.2.170.0110.00422.96
8.2.160.0140.00020.35
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0040.00422.14
8.2.120.0000.00826.35
8.2.110.0110.00021.24
8.2.100.0090.00318.01
8.2.90.0050.00319.09
8.2.80.0090.00017.97
8.2.70.0100.00717.34
8.2.60.0030.01017.65
8.2.50.0050.00318.07
8.2.40.0060.00320.01
8.2.30.0040.00418.10
8.2.20.0040.00418.07
8.2.10.0030.00518.17
8.2.00.0000.00718.07
8.1.270.0050.00320.53
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0030.00619.25
8.1.230.0090.00319.60
8.1.220.0050.00317.78
8.1.210.0080.00018.77
8.1.200.0060.00317.60
8.1.190.0000.00817.48
8.1.180.0080.00018.10
8.1.170.0030.00718.84
8.1.160.0000.00818.93
8.1.150.0070.00020.27
8.1.140.0000.00722.19
8.1.130.0070.00019.06
8.1.120.0040.00417.55
8.1.110.0040.00417.65
8.1.100.0040.00417.58
8.1.90.0000.00817.63
8.1.80.0000.00717.63
8.1.70.0000.00717.55
8.1.60.0040.00417.66
8.1.50.0040.00417.66
8.1.40.0050.00217.59
8.1.30.0000.00717.78
8.1.20.0040.00417.83
8.1.10.0040.00417.71
8.1.00.0000.00917.71
8.0.300.0040.00418.77
8.0.290.0070.00416.88
8.0.280.0000.00818.30
8.0.270.0070.00017.11
8.0.260.0040.00418.55
8.0.250.0070.00016.95
8.0.240.0000.00817.08
8.0.230.0000.00717.05
8.0.220.0080.00016.93
8.0.210.0030.00517.02
8.0.200.0030.00317.16
8.0.190.0040.00417.03
8.0.180.0040.00416.94
8.0.170.0000.00717.11
8.0.160.0050.00216.95
8.0.150.0050.00316.96
8.0.140.0050.00316.95
8.0.130.0000.00613.50
8.0.120.0040.00417.03
8.0.110.0040.00417.09
8.0.100.0050.00216.94
8.0.90.0070.00016.93
8.0.80.0070.00717.02
8.0.70.0050.00316.91
8.0.60.0000.00717.12
8.0.50.0040.00417.11
8.0.30.0070.01117.17
8.0.20.0100.01017.44
8.0.10.0050.00217.16
8.0.00.0130.01017.11
7.4.330.0050.00015.55
7.4.320.0030.00316.76
7.4.300.0080.00016.71
7.4.290.0000.00716.56
7.4.280.0070.00016.75
7.4.270.0000.00716.78
7.4.260.0000.00716.65
7.4.250.0000.00716.71
7.4.240.0020.00516.73
7.4.230.0040.00416.88
7.4.220.0090.00916.80
7.4.210.0000.01416.64
7.4.200.0030.00616.47
7.4.160.0060.01016.66
7.4.150.0060.01317.40
7.4.140.0110.00717.86
7.4.130.0060.01216.72
7.4.120.0150.00516.66
7.4.110.0030.01416.79
7.4.100.0030.01516.63
7.4.90.0070.01016.48
7.4.80.0060.01119.39
7.4.70.0150.00616.52
7.4.60.0060.00916.48
7.4.50.0070.01116.71
7.4.40.0160.00616.63
7.4.30.0060.01216.57
7.4.10.0030.01615.34
7.4.00.0040.01214.98
7.3.330.0000.00513.42
7.3.320.0000.00513.28
7.3.310.0000.00716.46
7.3.300.0040.00416.45
7.3.290.0050.00916.48
7.3.280.0090.00916.45
7.3.270.0100.00717.40
7.3.260.0080.01316.57
7.3.250.0090.01316.53
7.3.240.0090.01116.66
7.3.230.0170.00016.50
7.3.210.0090.00916.53
7.3.200.0130.00616.48
7.3.190.0090.00816.54
7.3.180.0140.00316.80
7.3.170.0070.01316.72
7.3.160.0050.01116.60
7.3.130.0100.01015.15
7.3.120.0000.01814.83
7.3.110.0000.01814.97
7.3.100.0070.00714.93
7.3.90.0090.00714.90
7.3.80.0060.00614.95
7.3.70.0110.00314.82
7.3.60.0140.00015.03
7.3.50.0080.00815.05
7.3.40.0070.00714.81
7.3.30.0070.00714.81
7.3.20.0040.00816.89
7.3.10.0060.00816.73
7.3.00.0160.00216.85
7.2.330.0060.01216.91
7.2.320.0150.00316.89
7.2.310.0080.00916.84
7.2.300.0140.00816.70
7.2.290.0030.01416.75
7.2.260.0030.01615.34
7.2.250.0040.00815.27
7.2.240.0080.00614.80
7.2.230.0000.01115.41
7.2.220.0060.00915.19
7.2.210.0090.00614.79
7.2.200.0030.00615.12
7.2.190.0030.00714.97
7.2.180.0000.01514.96
7.2.170.0060.00915.14
7.2.160.0110.00315.04
7.2.150.0030.00717.14
7.2.140.0030.01317.07
7.2.130.0120.00516.79
7.2.120.0090.00816.81
7.2.110.0110.00616.93
7.2.100.0060.00816.87
7.2.90.0030.01216.88
7.2.80.0070.00916.90
7.2.70.0080.00816.89
7.2.60.0120.00216.89
7.2.50.0090.01117.02
7.2.40.0170.00416.94
7.2.30.0060.00916.91
7.2.20.0060.00816.89
7.2.10.0100.00616.88
7.2.00.0060.00817.14
7.1.330.0080.00815.94
7.1.320.0040.00715.95
7.1.310.0030.00916.06
7.1.300.0150.00315.99
7.1.290.0120.00315.69
7.1.280.0090.00415.85
7.1.270.0090.00016.02
7.1.260.0070.00715.70
7.1.250.0100.00715.87
7.1.240.0000.01315.93
7.1.230.0000.01015.93
7.1.220.0080.00015.82
7.1.210.0030.01015.76
7.1.200.0060.00615.77
7.1.190.0030.00615.99
7.1.180.0070.01116.05
7.1.170.0100.00316.04
7.1.160.0070.00715.87
7.1.150.0040.01515.62
7.1.140.0040.01216.13
7.1.130.0000.01015.77
7.1.120.0030.01015.68
7.1.110.0060.00615.95
7.1.100.0620.00816.12
7.1.90.0600.00816.22
7.1.80.0540.01116.07
7.1.70.0440.01115.59
7.1.60.1870.01327.65
7.1.50.0580.01227.26
7.1.40.1660.01527.15
7.1.30.1890.01127.17
7.1.20.2050.01327.22
7.1.10.1620.00915.29
7.1.00.1770.01215.40
7.0.330.0000.01015.19
7.0.320.0030.01015.79
7.0.310.0040.01115.57
7.0.300.0100.00615.33
7.0.290.0060.00315.49
7.0.280.0060.00615.54
7.0.270.0070.00415.60
7.0.260.0040.01115.59
7.0.250.0070.00715.44
7.0.240.0560.01315.88
7.0.230.0470.01215.74
7.0.220.1700.01115.75
7.0.210.0660.01015.05
7.0.200.0710.00915.20
7.0.190.0540.00715.20
7.0.180.1600.01314.87
7.0.170.1960.01114.97
7.0.160.1900.00914.96
7.0.150.1400.00915.01
7.0.140.1460.00914.97
7.0.130.1910.01015.08
7.0.120.2130.01115.04
7.0.110.1550.01515.01
7.0.100.0950.00815.03
7.0.90.0700.01114.99
7.0.80.1750.00714.84
7.0.70.0520.00714.96
7.0.60.0630.01114.97
7.0.50.0560.01115.08
7.0.40.2110.00614.38
7.0.30.0690.00914.46
7.0.20.2210.01014.28
7.0.10.2200.01014.46
7.0.00.2230.01214.46
5.6.400.0030.01014.32
5.6.390.0030.00714.14
5.6.380.0070.01113.70
5.6.370.0000.01314.25
5.6.360.0090.00414.09
5.6.350.0120.00314.23
5.6.340.0070.01114.12
5.6.330.0030.01014.13
5.6.320.0060.00613.95
5.6.310.0040.00814.15
5.6.300.0140.04018.67
5.6.290.0090.04918.58
5.6.280.0110.04418.79
5.6.270.0150.04118.75
5.6.260.0110.04718.66
5.6.250.0150.04718.71
5.6.240.0110.05218.54
5.6.230.0120.04618.63
5.6.220.0140.04518.53
5.6.210.0070.04818.35
5.6.200.0060.05618.64
5.6.190.0130.03918.54
5.6.180.0100.04818.61
5.6.170.0090.04118.57
5.6.160.0130.04218.64
5.6.150.0080.05118.59
5.6.140.0130.04018.56
5.6.130.0080.04618.71
5.6.120.0160.04518.64
5.6.110.0180.04518.64
5.6.100.0100.05218.58
5.6.90.0130.04918.51
5.6.80.0130.05118.18
5.6.70.0070.05418.28
5.6.60.0140.04518.21
5.6.50.0120.04318.13
5.6.40.0150.03518.11
5.6.30.0080.04218.12
5.6.20.0130.04418.06
5.6.10.0150.04418.12
5.6.00.0170.04218.12
5.5.380.0240.05717.60
5.5.370.0160.06217.41
5.5.360.0100.08117.61
5.5.350.0170.07317.45
5.5.340.0220.04917.97
5.5.330.0100.06317.95
5.5.320.0160.05018.14
5.5.310.0130.05318.00
5.5.300.0210.06718.02
5.5.290.0110.06018.03
5.5.280.0140.06717.74
5.5.270.0140.06118.05
5.5.260.0160.05818.13
5.5.250.0100.06017.84
5.5.240.0100.07417.18
5.5.230.0040.08617.40
5.5.220.0140.06217.32
5.5.210.0170.05717.33
5.5.200.0070.05617.15
5.5.190.0090.05717.06
5.5.180.0240.05517.38
5.5.160.0030.07917.31
5.5.150.0130.06417.38
5.5.140.0100.08017.09
5.5.130.0170.07217.09
5.5.120.0100.05517.29
5.5.110.0280.03717.36
5.5.100.0100.05517.25
5.5.90.0100.05316.95
5.5.80.0130.05017.03
5.5.70.0030.06317.27
5.5.60.0150.04916.98
5.5.50.0070.06517.04
5.5.40.0190.04417.21
5.5.30.0000.06317.04
5.5.20.0000.06417.27
5.5.10.0070.05417.27
5.5.00.0190.06517.25
5.4.450.0130.07119.36
5.4.440.0060.08119.36
5.4.430.0100.05719.32
5.4.420.0190.05719.57
5.4.410.0160.05519.21
5.4.400.0160.06318.87
5.4.390.0100.05519.15
5.4.380.0090.06219.02
5.4.370.0160.04619.00
5.4.360.0100.05719.15
5.4.350.0100.05819.06
5.4.340.0130.05319.06
5.4.320.0200.06819.05
5.4.310.0190.07119.16
5.4.300.0070.08419.00
5.4.290.0070.07019.01
5.4.280.0190.04419.08
5.4.270.0100.06518.92
5.4.260.0100.05319.06
5.4.250.0160.06919.03
5.4.240.0100.06119.14
5.4.230.0320.04818.98
5.4.220.0130.06118.90
5.4.210.0100.05319.03
5.4.200.0030.07319.08
5.4.190.0160.05419.14
5.4.180.0100.05019.00
5.4.170.0130.04918.98
5.4.160.0130.05218.90
5.4.150.0170.05119.03
5.4.140.0100.05716.71
5.4.130.0190.06116.52
5.4.120.0200.04716.71
5.4.110.0170.05916.68
5.4.100.0100.06316.42
5.4.90.0160.04516.74
5.4.80.0070.05416.56
5.4.70.0070.07316.67
5.4.60.0170.05616.40
5.4.50.0100.05216.62
5.4.40.0190.06116.66
5.4.30.0060.05316.48
5.4.20.0130.05216.66
5.4.10.0030.05716.40
5.4.00.0070.05515.85
5.3.290.0200.05914.89
5.3.280.0160.05914.86
5.3.270.0100.05314.88
5.3.260.0030.06114.87
5.3.250.0130.04714.66
5.3.240.0150.06814.79
5.3.230.0260.05614.79
5.3.220.0030.07314.74
5.3.210.0200.05914.84
5.3.200.0100.06214.68
5.3.190.0030.05914.62
5.3.180.0030.05914.70
5.3.170.0130.06314.86
5.3.160.0160.06414.85
5.3.150.0030.06114.86
5.3.140.0220.06314.61
5.3.130.0160.06214.66
5.3.120.0030.05914.73
5.3.110.0000.07914.73
5.3.100.0160.06214.23
5.3.90.0160.04414.07
5.3.80.0160.04214.30
5.3.70.0070.05314.08
5.3.60.0130.05414.32
5.3.50.0070.06614.22
5.3.40.0100.06414.15
5.3.30.0260.04613.93
5.3.20.0060.06513.87
5.3.10.0170.06013.86
5.3.00.0090.04813.64
5.2.170.0100.04911.27
5.2.160.0060.05411.13
5.2.150.0070.05411.34
5.2.140.0100.05211.36
5.2.130.0090.05511.03
5.2.120.0030.06011.25
5.2.110.0070.04211.04
5.2.100.0130.03711.33
5.2.90.0100.04211.23
5.2.80.0030.04611.31
5.2.70.0030.05411.02
5.2.60.0030.04410.98
5.2.50.0070.05711.22
5.2.40.0080.04111.11
5.2.30.0070.04310.77
5.2.20.0070.04310.89
5.2.10.0070.03911.04
5.2.00.0100.03810.85
5.1.60.0070.03310.11
5.1.50.0170.02710.03
5.1.40.0030.04410.12
5.1.30.0060.05210.53
5.1.20.0100.04810.63
5.1.10.0100.04510.37
5.1.00.0130.0329.95
5.0.50.0030.0388.68
5.0.40.0070.0328.49
5.0.30.0030.0468.53
5.0.20.0100.0338.39
5.0.10.0030.0298.05
5.0.00.0030.0428.20
4.4.90.0000.0357.29
4.4.80.0100.0247.29
4.4.70.0070.0207.29
4.4.60.0030.0237.29
4.4.50.0000.0267.29
4.4.40.0000.0387.29
4.4.30.0000.0257.29
4.4.20.0100.0267.29
4.4.10.0080.0197.29
4.4.00.0070.0367.29
4.3.110.0090.0237.29
4.3.100.0030.0327.29
4.3.90.0090.0247.29
4.3.80.0000.0367.29
4.3.70.0040.0227.29
4.3.60.0000.0357.29
4.3.50.0070.0307.29
4.3.40.0100.0407.29
4.3.30.0030.0307.29
4.3.20.0030.0317.29
4.3.10.0000.0337.29
4.3.00.0000.0257.29

preferences:
72.43 ms | 400 KiB | 5 Q