3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domains = array( 'http://wwwvagrant.royalmail.com/business', 'http://wwwvagrant.parcelforce.com', 'https://www2.postoffice.co.uk', 'http://wwwvagrant.royalmail.com', 'asdfasdfasdf', 'http://eibvagrant.royalmail.com', 'http://wwwvagrant.royalmail.com/payments', ); $doamins = array_filter($domains, function($domain) { return filter_var($domain, FILTER_VALIDATE_URL) !== FALSE; }); print_r($domains); var_dump( filter_var('dsd', FILTER_VALIDATE_UR));

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.01018.43
8.3.50.0040.01118.05
8.3.40.0160.00318.88
8.3.30.0070.00718.73
8.3.20.0040.01120.22
8.3.10.0060.00320.50
8.3.00.0060.00321.81
8.2.180.0090.00916.50
8.2.170.0060.00922.96
8.2.160.0030.01022.13
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0030.00520.93
8.2.120.0080.00026.35
8.2.110.0070.00419.30
8.2.100.0080.00317.84
8.2.90.0080.00019.09
8.2.80.0060.00317.97
8.2.70.0000.00817.46
8.2.60.0040.00417.92
8.2.50.0030.00718.09
8.2.40.0080.00020.53
8.2.30.0000.00719.51
8.2.20.0040.00417.63
8.2.10.0050.00218.20
8.2.00.0000.00718.19
8.1.280.0070.01025.92
8.1.270.0030.00622.14
8.1.260.0050.00328.09
8.1.250.0050.00228.09
8.1.240.0040.00421.37
8.1.230.0000.01217.42
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0070.00317.35
8.1.190.0030.00617.23
8.1.180.0070.00018.10
8.1.170.0080.00318.51
8.1.160.0020.00520.68
8.1.150.0000.00820.73
8.1.140.0030.00519.53
8.1.130.0030.00317.63
8.1.120.0000.00717.38
8.1.110.0030.00317.45
8.1.100.0030.00517.48
8.1.90.0000.00817.49
8.1.80.0040.00417.42
8.1.70.0040.00417.54
8.1.60.0060.00517.63
8.1.50.0000.00917.47
8.1.40.0000.00817.54
8.1.30.0030.00617.64
8.1.20.0050.00317.48
8.1.10.0000.00717.52
8.1.00.0000.00717.52
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0040.00418.45
8.0.270.0040.00417.25
8.0.260.0040.00417.25
8.0.250.0040.00417.01
8.0.240.0000.00616.96
8.0.230.0030.00316.88
8.0.220.0040.00416.89
8.0.210.0030.00516.96
8.0.200.0030.00316.99
8.0.190.0050.00516.91
8.0.180.0000.00816.97
8.0.170.0000.00716.97
8.0.160.0000.00716.94
8.0.150.0070.00016.86
8.0.140.0070.00016.88
8.0.130.0000.00613.34
8.0.120.0000.00816.98
8.0.110.0040.00416.98
8.0.100.0050.00217.07
8.0.90.0000.00716.94
8.0.80.0030.01016.91
8.0.70.0040.00417.01
8.0.60.0070.00016.83
8.0.50.0000.00716.98
8.0.30.0080.01117.13
8.0.20.0120.00717.41
8.0.10.0040.00417.10
8.0.00.0100.00816.86
7.4.330.0000.00516.67
7.4.320.0030.00316.50
7.4.300.0030.00316.59
7.4.290.0070.00016.42
7.4.280.0080.00016.53
7.4.270.0040.00416.58
7.4.260.0040.00416.48
7.4.250.0040.00416.48
7.4.240.0050.00216.51
7.4.230.0030.00316.30
7.4.220.0110.00616.66
7.4.210.0080.00816.56
7.4.200.0070.00016.48
7.4.160.0060.00916.43
7.4.150.0170.00017.40
7.4.140.0100.01017.86
7.4.130.0070.01016.53
7.4.120.0140.00316.54
7.4.110.0070.01016.57
7.4.100.0130.01016.52
7.4.90.0090.00816.54
7.4.80.0150.00319.39
7.4.70.0120.00416.56
7.4.60.0090.00916.38
7.4.50.0090.00616.63
7.4.40.0120.00916.46
7.4.30.0110.00516.60
7.4.10.0110.00816.34
7.4.00.0080.01015.87
7.3.330.0060.00013.20
7.3.320.0050.00013.16
7.3.310.0040.00416.28
7.3.300.0030.00316.35
7.3.290.0030.00316.27
7.3.280.0100.00916.31
7.3.270.0070.01017.40
7.3.260.0100.00716.29
7.3.250.0100.00816.36
7.3.240.0110.00716.51
7.3.230.0080.00816.51
7.3.210.0130.00316.58
7.3.200.0070.01316.38
7.3.190.0070.01016.40
7.3.180.0110.00616.26
7.3.170.0150.01216.44
7.3.160.0090.00616.45
7.3.130.0100.01016.36
7.3.120.0030.01316.21
7.3.110.0150.00016.30
7.3.100.0080.00416.41
7.3.90.0000.01416.55
7.3.80.0040.01116.24
7.3.70.0030.00616.33
7.3.60.0030.01016.32
7.3.50.0000.01216.20
7.3.40.0000.01616.30
7.3.30.0080.00416.39
7.3.20.0060.00918.07
7.3.10.0040.00818.08
7.3.00.0100.00318.08
7.2.330.0100.00716.64
7.2.320.0150.00816.69
7.2.310.0170.00616.78
7.2.300.0130.00416.69
7.2.290.0060.00916.74
7.2.260.0070.01416.59
7.2.250.0140.00716.58
7.2.240.0040.01116.74
7.2.230.0040.00816.46
7.2.220.0090.00616.57
7.2.210.0000.01116.64
7.2.200.0040.00816.41
7.2.190.0000.01516.66
7.2.180.0030.00916.52
7.2.170.0030.01416.32
7.2.160.0030.01316.57
7.2.150.0060.00618.42
7.2.140.0000.01418.42
7.2.130.0080.00618.31
7.2.120.0070.00718.39
7.2.110.0030.01018.21
7.2.100.0040.00818.44
7.2.90.0040.01118.51
7.2.80.0030.01318.40
7.2.70.0130.00018.43
7.2.60.0040.01117.63
7.2.50.0070.00718.41
7.2.40.0060.00618.43
7.2.30.0090.00618.51
7.2.20.0070.00718.35
7.2.10.0110.00418.40
7.2.00.0070.01118.84
7.1.330.0060.01017.38
7.1.320.0080.00317.22
7.1.310.0080.00817.38
7.1.300.0000.01217.18
7.1.290.0030.01017.26
7.1.280.0080.00517.19
7.1.270.0030.00917.43
7.1.260.0090.00317.13
7.1.250.0060.00617.16
7.1.240.0060.00917.21
7.1.230.0030.01217.23
7.1.220.0070.00717.36
7.1.210.0030.01017.17
7.1.200.0070.00616.40
7.1.190.0060.00617.17
7.1.180.0040.01117.30
7.1.170.0070.01017.19
7.1.160.0080.00817.23
7.1.150.0070.00717.18
7.1.140.0000.01617.20
7.1.130.0060.00617.19
7.1.120.0160.00017.21
7.1.110.0070.00417.16
7.1.100.0080.00417.63
7.1.90.0000.01417.13
7.1.80.0070.00717.22
7.1.70.0020.01017.15
7.1.60.0070.00718.31
7.1.50.0030.01416.97
7.1.40.0040.01117.46
7.1.30.0090.00617.25
7.1.20.0090.00617.32
7.1.10.0040.01117.48
7.1.00.0080.04019.74
7.0.330.0040.01116.83
7.0.320.0000.01416.86
7.0.310.0030.01216.98
7.0.300.0000.01416.88
7.0.290.0080.00416.93
7.0.280.0080.00616.82
7.0.270.0000.00916.98
7.0.260.0070.01016.87
7.0.250.0030.01016.98
7.0.240.0070.00717.13
7.0.230.0040.01116.91
7.0.220.0090.00616.84
7.0.210.0090.00316.80
7.0.200.0120.00815.98
7.0.190.0120.00417.06
7.0.180.0100.00316.79
7.0.170.0090.00617.19
7.0.160.0060.00616.80
7.0.150.0000.00917.19
7.0.140.0070.00717.01
7.0.130.0090.00617.08
7.0.120.0030.00916.97
7.0.110.0070.00716.96
7.0.100.0000.00917.05
7.0.90.0040.01117.05
7.0.80.0090.00616.93
7.0.70.0070.00716.97
7.0.60.0190.01618.43
7.0.50.0050.04617.41
7.0.40.0090.03117.54
7.0.30.0130.04017.64
7.0.20.0130.02217.50
7.0.10.0020.02917.51
7.0.00.0050.03117.59
5.6.400.0090.00616.18
5.6.390.0030.00915.95
5.6.380.0030.00915.66
5.6.370.0080.00415.61
5.6.360.0030.00916.06
5.6.350.0100.00716.14
5.6.340.0110.00415.84
5.6.330.0150.00415.72
5.6.320.0060.00615.66
5.6.310.0100.00716.11
5.6.300.0030.01315.66
5.6.290.0030.00615.89
5.6.280.0090.01718.30
5.6.270.0140.00015.95
5.6.260.0030.01416.06
5.6.250.0090.00315.93
5.6.240.0000.01415.72
5.6.230.0120.00616.01
5.6.220.0090.00615.88
5.6.210.0110.04318.21
5.6.200.0050.05716.93
5.6.190.0070.02518.41
5.6.180.0130.03618.10
5.6.170.0150.04718.26
5.6.160.0090.03518.29
5.6.150.0070.02017.04
5.6.140.0040.04717.15
5.6.130.0030.02617.19
5.6.120.0050.02318.41
5.6.110.0080.02818.42
5.6.100.0080.03318.40
5.6.90.0020.04518.34
5.6.80.0080.04718.15
5.6.70.0000.01215.68
5.6.60.0030.00915.61
5.6.50.0030.00715.66
5.6.40.0040.00415.94
5.6.30.0050.00515.59
5.6.20.0090.00316.01
5.6.10.0030.01016.00
5.6.00.0070.01016.08
5.5.380.0090.00615.84
5.5.370.0000.01015.73
5.5.360.0040.01115.73
5.5.350.0220.03618.23
5.5.340.0070.02216.92
5.5.330.0050.04718.01
5.5.320.0330.03917.96
5.5.310.0180.03918.08
5.5.300.0100.02716.96
5.5.290.0110.04316.88
5.5.280.0070.04518.25
5.5.270.0110.02818.39
5.5.260.0070.04718.34
5.5.250.0090.04018.21
5.5.240.0000.02917.89
5.5.230.0070.00715.75
5.5.220.0030.01015.58
5.5.210.0030.00715.62
5.5.200.0040.01115.68
5.5.190.0070.00715.82
5.5.180.0100.00715.70
5.5.170.0060.01015.51
5.5.160.0060.01215.81
5.5.150.0000.01415.77
5.5.140.0060.00915.74
5.5.130.0060.00615.77
5.5.120.0070.01015.61
5.5.110.0140.00415.85
5.5.100.0130.00015.66
5.5.90.0060.00915.84
5.5.80.0080.00615.41
5.5.70.0060.00915.67
5.5.60.0080.00815.76
5.5.50.0050.00515.78
5.5.40.0040.00815.72
5.5.30.0080.00815.74
5.5.20.0100.00615.80
5.5.10.0070.00715.68
5.5.00.0050.00515.64

preferences:
45.21 ms | 401 KiB | 5 Q