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'; $domains[] = 'http://wwww.gżegżółka.www..w3schooåøls.coøm/pl/polska/index.php?id=op&pids=1'; $domains[] = 'http://wwww.gżegżółka.www.<script>alert(\'test\');</script>.w3schooåøls.coøm/pl/polska/index.php?id=op&pids=1'; print_r(array_map(function ($domain) { preg_match('#(https?:\/\/)?(www\.)?([a-z][^\/]+)#', $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.60.0080.00817.00
8.3.50.0070.00718.24
8.3.40.0110.00419.06
8.3.30.0090.00918.87
8.3.20.0000.00720.34
8.3.10.0040.00420.24
8.3.00.0000.00823.48
8.2.180.0140.00717.00
8.2.170.0110.00722.96
8.2.160.0120.00320.36
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0030.00526.16
8.2.120.0080.00020.90
8.2.110.0050.00519.27
8.2.100.0040.00718.16
8.2.90.0080.00019.24
8.2.80.0030.00917.97
8.2.70.0090.00017.88
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0040.00420.42
8.2.30.0040.00419.26
8.2.20.0080.00018.16
8.2.10.0030.00618.11
8.2.00.0000.00818.23
8.1.280.0120.00625.92
8.1.270.0040.00420.38
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00422.75
8.1.230.0070.00320.32
8.1.220.0050.00317.79
8.1.210.0050.00318.77
8.1.200.0060.00317.60
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0040.00418.83
8.1.160.0040.00418.97
8.1.150.0050.00320.05
8.1.140.0040.00419.54
8.1.130.0040.00419.07
8.1.120.0040.00417.61
8.1.110.0040.00417.51
8.1.100.0080.00017.49
8.1.90.0000.00817.62
8.1.80.0030.00517.61
8.1.70.0000.00817.55
8.1.60.0030.00617.79
8.1.50.0070.00417.66
8.1.40.0050.00217.60
8.1.30.0030.00617.84
8.1.20.0030.00517.70
8.1.10.0000.00817.75
8.1.00.0030.00717.68
8.0.300.0040.00419.21
8.0.290.0030.00616.75
8.0.280.0060.00318.46
8.0.270.0080.00017.21
8.0.260.0000.01118.41
8.0.250.0030.00317.11
8.0.240.0080.00017.02
8.0.230.0000.00717.03
8.0.220.0080.00016.96
8.0.210.0080.00017.01
8.0.200.0060.00017.13
8.0.190.0000.00817.00
8.0.180.0040.00416.96
8.0.170.0040.00417.10
8.0.160.0030.00317.02
8.0.150.0080.00017.01
8.0.140.0070.00017.04
8.0.130.0030.00313.48
8.0.120.0040.00417.00
8.0.110.0070.00016.87
8.0.100.0070.00016.88
8.0.90.0000.00716.87
8.0.80.0120.00616.95
8.0.70.0050.00316.82
8.0.60.0040.00416.92
8.0.50.0000.00717.16
8.0.30.0070.01316.96
8.0.20.0100.00917.40
8.0.10.0020.00516.97
8.0.00.0120.01216.84
7.4.330.0060.00015.55
7.4.320.0060.00016.63
7.4.300.0030.00316.80
7.4.290.0040.00416.80
7.4.280.0080.00016.58
7.4.270.0000.00716.55
7.4.260.0000.00716.78
7.4.250.0050.00316.70
7.4.240.0070.00016.79
7.4.230.0030.00316.66
7.4.220.0160.01016.66
7.4.210.0090.00516.79
7.4.200.0040.00416.79
7.4.160.0070.00916.79
7.4.150.0110.00817.40
7.4.140.0130.00817.86
7.4.130.0100.00716.71
7.4.120.0120.00716.57
7.4.110.0100.00916.65
7.4.100.0070.01016.71
7.4.90.0100.00716.46
7.4.80.0000.01719.39
7.4.70.0100.00716.66
7.4.60.0070.01016.57
7.4.50.0080.00816.54
7.4.40.0080.00816.64
7.4.30.0120.01116.73
7.4.10.0100.00915.07
7.4.00.0040.01315.03
7.3.330.0000.00513.42
7.3.320.0060.00013.47
7.3.310.0000.00716.50
7.3.300.0040.00416.48
7.3.290.0070.00016.52
7.3.280.0080.00716.45
7.3.270.0110.00517.40
7.3.260.0080.01116.74
7.3.250.0060.01216.68
7.3.240.0050.01216.65
7.3.230.0080.01116.54
7.3.210.0130.00316.50
7.3.200.0080.00816.68
7.3.190.0080.00816.53
7.3.180.0120.00416.70
7.3.170.0070.01116.82
7.3.160.0130.00316.65
7.3.130.0070.01115.28
7.3.120.0080.00615.21
7.3.110.0030.01614.83
7.3.100.0090.00614.68
7.3.90.0100.00314.95
7.3.80.0030.01415.25
7.3.70.0080.00814.75
7.3.60.0000.01214.96
7.3.50.0080.00314.84
7.3.40.0090.00615.07
7.3.30.0090.00914.82
7.3.20.0070.00716.82
7.3.10.0160.00416.47
7.3.00.0140.00716.39
7.2.330.0110.00816.89
7.2.320.0060.01116.80
7.2.310.0070.01516.84
7.2.300.0040.01316.74
7.2.290.0100.00816.68
7.2.260.0110.00415.05
7.2.250.0000.01915.33
7.2.240.0000.01515.36
7.2.230.0030.01015.14
7.2.220.0000.01415.10
7.2.210.0060.01015.14
7.2.200.0000.00914.95
7.2.190.0090.00615.20
7.2.180.0040.00415.09
7.2.170.0040.01114.94
7.2.160.0060.00915.20
7.2.150.0030.01217.14
7.2.140.0090.00317.17
7.2.130.0130.00816.64
7.2.120.0070.01016.70
7.2.110.0070.00816.66
7.2.100.0080.01016.49
7.2.90.0120.00616.51
7.2.80.0110.00516.81
7.2.70.0250.01016.52
7.2.60.0160.01016.97
7.2.50.0210.00816.99
7.2.40.0120.00716.89
7.2.30.0180.00816.82
7.2.20.0050.01016.70
7.2.10.0160.00416.48
7.2.00.0170.00516.79
7.1.330.0000.01615.95
7.1.320.0000.01515.84
7.1.310.0100.00715.49
7.1.300.0030.01015.86
7.1.290.0110.00315.63
7.1.280.0060.00915.91
7.1.270.0060.01215.93
7.1.260.0040.00715.86
7.1.250.0210.00115.47
7.1.240.0060.00815.92
7.1.230.0040.01115.80
7.1.220.0030.01115.55
7.1.210.0070.00315.91
7.1.200.0020.01015.72
7.1.190.0050.00816.09
7.1.180.0100.00715.61
7.1.170.0040.01215.85
7.1.160.0100.00315.73
7.1.150.0030.01015.66
7.1.140.0040.00416.00
7.1.130.0060.00616.01
7.1.120.0070.00315.74
7.1.110.0130.00015.97
7.1.100.1340.00916.23
7.1.90.2210.00416.28
7.1.80.5860.00816.39
7.1.70.0230.00815.72
7.1.60.0170.01027.48
7.1.50.0410.00727.32
7.1.40.0170.01227.18
7.1.30.0930.01227.30
7.1.20.0260.00927.22
7.1.10.0920.01515.11
7.1.00.0080.00715.29
7.0.330.0130.00315.73
7.0.320.0040.01115.64
7.0.310.0080.00415.77
7.0.300.0050.00815.52
7.0.290.0050.00515.68
7.0.280.0060.00915.50
7.0.270.0000.01215.57
7.0.260.0030.00915.57
7.0.250.0090.00615.36
7.0.240.1260.01216.01
7.0.230.2970.00815.87
7.0.220.1850.00916.06
7.0.210.0090.01015.19
7.0.200.0150.00815.16
7.0.190.0710.00715.28
7.0.180.0080.01314.92
7.0.170.0420.00914.94
7.0.160.0100.00915.02
7.0.150.1010.00914.90
7.0.140.0110.00814.97
7.0.130.0120.01015.13
7.0.120.0100.01115.09
7.0.110.0210.01115.11
7.0.100.2200.00714.91
7.0.90.0050.01115.11
7.0.80.0090.01015.03
7.0.70.0620.00614.94
7.0.60.0090.01214.97
7.0.50.0050.01115.13
7.0.40.0070.01114.54
7.0.30.0120.00814.52
7.0.20.0080.01014.48
7.0.10.0110.01014.43
7.0.00.0250.00814.41
5.6.400.0060.00914.16
5.6.390.0100.00714.08
5.6.380.0070.00714.24
5.6.370.0030.00714.13
5.6.360.0130.00314.05
5.6.350.0060.00614.23
5.6.340.0130.00314.30
5.6.330.0060.00914.32
5.6.320.0090.00014.37
5.6.310.0040.01114.10
5.6.300.0060.00614.27
5.6.290.0100.00314.36
5.6.280.0000.01514.18
5.6.270.0060.00614.09
5.6.260.0000.00814.26
5.6.250.0000.00914.20
5.6.240.0090.00314.20
5.6.230.0000.01514.04
5.6.220.0040.01114.33
5.6.210.0130.00014.21
5.6.200.0060.00314.33
5.6.190.0030.00914.13
5.6.180.0040.01114.21
5.6.170.0040.01113.95
5.6.160.0150.00014.11
5.6.150.0070.00714.15
5.6.140.0000.01514.11
5.6.130.0000.01514.10
5.6.120.0030.00914.42
5.6.110.0030.00914.17
5.6.100.0030.00913.86
5.6.90.0070.00414.22
5.6.80.0080.00613.81
5.6.70.0040.01113.85
5.6.60.0000.00914.18
5.6.50.0080.00613.93
5.6.40.0080.00413.83
5.6.30.0040.00714.06
5.6.20.0030.00614.25
5.6.10.0090.00614.14
5.6.00.0090.00613.94

preferences:
71.61 ms | 400 KiB | 5 Q