3v4l.org

run code in 300+ PHP versions simultaneously
<?php $proper_urls = array('.com', '.pl', '.co.uk', '.com.pl', '.org'); $website = 'fdsfsdf.pl'; $web = explode('.', $website); echo end($web); if(end($web, $proper_urls)) { echo 'valid'; } else { echo 'not valid'; }

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.0110.00716.88
8.3.50.0070.00716.25
8.3.40.0070.00718.95
8.3.30.0060.01218.55
8.3.20.0030.00620.34
8.3.10.0060.00321.72
8.3.00.0080.00017.91
8.2.180.0210.00016.63
8.2.170.0100.00722.96
8.2.160.0030.01020.48
8.2.150.0040.00424.18
8.2.140.0020.00524.66
8.2.130.0040.00420.57
8.2.120.0070.00026.35
8.2.110.0030.00620.35
8.2.100.0040.00717.88
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0040.00417.93
8.2.50.0050.00318.10
8.2.40.0040.00422.38
8.2.30.0070.00020.95
8.2.20.0080.00017.87
8.2.10.0030.00618.04
8.2.00.0070.00018.05
8.1.280.0110.00625.92
8.1.270.0040.00422.19
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0000.00922.62
8.1.230.0040.00718.97
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0100.00017.23
8.1.190.0060.00317.23
8.1.180.0050.00318.10
8.1.170.0050.00318.31
8.1.160.0000.00719.06
8.1.150.0000.00720.55
8.1.140.0000.00719.58
8.1.130.0030.00318.73
8.1.120.0000.00717.30
8.1.110.0080.00017.29
8.1.100.0040.00417.47
8.1.90.0000.00817.38
8.1.80.0040.00417.35
8.1.70.0000.00717.39
8.1.60.0080.00017.49
8.1.50.0000.00917.52
8.1.40.0030.00617.48
8.1.30.0000.00817.52
8.1.20.0040.00417.62
8.1.10.0040.00417.48
8.1.00.0030.00517.45
8.0.300.0070.00018.77
8.0.290.0050.00316.71
8.0.280.0000.00718.49
8.0.270.0050.00517.23
8.0.260.0030.00316.76
8.0.250.0030.00316.89
8.0.240.0030.00316.89
8.0.230.0030.00516.98
8.0.220.0050.00216.87
8.0.210.0040.00416.89
8.0.200.0000.00616.98
8.0.190.0060.00316.96
8.0.180.0080.00016.80
8.0.170.0040.00416.80
8.0.160.0050.00216.85
8.0.150.0040.00416.82
8.0.140.0000.00816.76
8.0.130.0000.00513.29
8.0.120.0000.00716.86
8.0.110.0050.00216.77
8.0.100.0080.00016.94
8.0.90.0030.00316.96
8.0.80.0060.00916.95
8.0.70.0040.00416.95
8.0.60.0040.00416.74
8.0.50.0040.00416.95
8.0.30.0120.00716.99
8.0.20.0100.00917.40
8.0.10.0070.00017.00
8.0.00.0030.01316.45
7.4.330.0000.00515.55
7.4.320.0030.00316.42
7.4.300.0000.00616.43
7.4.290.0000.00716.45
7.4.280.0050.00316.51
7.4.270.0050.00216.33
7.4.260.0030.00313.18
7.4.250.0070.00016.54
7.4.240.0030.00316.43
7.4.230.0070.00016.43
7.4.220.0160.00316.49
7.4.210.0070.01316.47
7.4.200.0040.00416.56
7.4.160.0120.00616.35
7.4.150.0110.00717.40
7.4.140.0080.00917.86
7.4.130.0170.00316.32
7.4.120.0100.00716.43
7.4.110.0110.00616.47
7.4.100.0080.01216.32
7.4.90.0080.01116.48
7.4.80.0080.00819.39
7.4.70.0090.01416.54
7.4.60.0000.01816.50
7.4.50.0030.01316.32
7.4.40.0030.01316.48
7.4.30.0120.00416.43
7.4.00.0070.01014.74
7.3.330.0030.00313.13
7.3.320.0060.00012.95
7.3.310.0030.00616.24
7.3.300.0000.00616.25
7.3.290.0110.00416.17
7.3.280.0090.00816.19
7.3.270.0100.01017.40
7.3.260.0070.01316.42
7.3.250.0110.00816.33
7.3.240.0130.00516.33
7.3.230.0120.00616.24
7.3.210.0100.00716.13
7.3.200.0000.01616.22
7.3.190.0100.00716.27
7.3.180.0000.01616.16
7.3.170.0090.01316.40
7.3.160.0100.00616.22
7.2.330.0090.00916.56
7.2.320.0070.01016.43
7.2.310.0150.00616.61
7.2.300.0120.01316.65
7.2.290.0110.00616.70
7.2.00.0030.01019.48
7.1.100.0110.00017.96
7.1.70.1530.01015.31
7.1.60.1730.01033.12
7.1.50.1670.02332.84
7.1.40.1770.00732.49
7.1.30.1270.02032.54
7.1.20.1570.02032.68
7.1.10.1330.02014.73
7.1.00.1830.01014.70
7.0.200.1370.01714.80
7.0.190.1430.02014.76
7.0.180.1400.00714.23
7.0.170.1470.02014.21
7.0.160.1470.01014.30
7.0.150.1530.00314.26
7.0.140.1630.01314.41
7.0.130.1530.02014.50
7.0.120.1530.00314.56
7.0.110.1270.01314.29
7.0.100.1430.02014.16
7.0.90.2300.01314.32
7.0.80.1600.01714.22
7.0.70.1600.01014.26
7.0.60.1530.01314.27
7.0.50.1530.01314.38
7.0.40.1500.01714.66
7.0.30.1530.01314.49
7.0.20.1870.01314.71
7.0.10.1500.01014.59
7.0.00.1600.01314.43

preferences:
42.74 ms | 400 KiB | 5 Q