3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pizza = 'http://www.tuin.co.uk/images/D/2-10.jpg,http://www.tuin.co.uk/images/D/40.0535-t02-12%20Skov.jpg,http://www.tuin.co.uk/images/D/28mm%20log-04.jpg,http://www.tuin.co.uk/images/D/Skov-log-cabin.jpg,http://www.tuin.co.uk/images/D/Skov-log-cabin-01.jpg,http://www.tuin.co.uk/images/D/Skove-log-cabin.jpg,http://www.tuin.co.uk/images/D/skov-28mm-log-'; $pieces = explode(",", $pizza); echo count($pieces); //foreach ($pieces as $arr) //{ // if (filter_var('http://www.tuin.co.uk/images/D/skov-28mm-log-', FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED)) { // echo $arr.'<br>'; // } // else echo $arr.'<br><br>'; //} if (filter_var('http://www.tuin.co.uk/images/D/skov-28mm-log-', FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED)) { echo '<br>'; }

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.120.0090.00019.09
8.3.110.0090.00920.94
8.3.100.0120.00824.06
8.3.90.0070.00726.77
8.3.80.0090.00019.36
8.3.70.0060.01016.75
8.3.60.0140.00716.63
8.3.50.0080.01021.16
8.3.40.0110.00718.97
8.3.30.0120.00318.84
8.3.20.0070.00020.30
8.3.10.0040.00423.61
8.3.00.0040.00417.59
8.2.240.0090.00017.46
8.2.230.0080.00022.58
8.2.220.0150.00437.54
8.2.210.0040.00426.77
8.2.200.0110.00018.88
8.2.190.0150.00716.63
8.2.180.0070.00718.66
8.2.170.0100.01022.96
8.2.160.0140.00020.53
8.2.150.0070.00025.66
8.2.140.0110.00724.66
8.2.130.0140.00426.16
8.2.120.0070.00421.05
8.2.110.0030.00622.25
8.2.100.0070.00417.91
8.2.90.0000.00718.22
8.2.80.0060.00318.92
8.2.70.0000.00817.75
8.2.60.0070.00318.04
8.2.50.0090.00018.07
8.2.40.0040.00418.16
8.2.30.0100.00017.96
8.2.20.0000.00717.64
8.2.10.0000.00718.06
8.2.00.0080.00018.05
8.1.300.0070.01118.21
8.1.290.0040.00830.84
8.1.280.0170.00325.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00623.96
8.1.230.0090.00319.09
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0030.00617.48
8.1.190.0000.00817.35
8.1.180.0060.00318.10
8.1.170.0080.00018.64
8.1.160.0040.00418.87
8.1.150.0070.00018.91
8.1.140.0040.00417.46
8.1.130.0000.00717.72
8.1.120.0040.00417.38
8.1.110.0000.00717.46
8.1.100.0050.00217.45
8.1.90.0040.00417.48
8.1.80.0000.00717.38
8.1.70.0000.00717.39
8.1.60.0040.00417.64
8.1.50.0080.00017.60
8.1.40.0050.00317.54
8.1.30.0040.00417.68
8.1.20.0000.00817.71
8.1.10.0040.00417.46
8.1.00.0040.00417.55
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0070.00018.47
8.0.270.0030.00317.29
8.0.260.0060.00317.17
8.0.250.0030.00316.99
8.0.240.0030.00317.03
8.0.230.0050.00517.08
8.0.220.0000.00716.87
8.0.210.0070.00016.98
8.0.200.0000.00617.03
8.0.190.0000.00716.99
8.0.180.0040.00416.99
8.0.170.0000.00716.90
8.0.160.0080.00017.00
8.0.150.0070.00017.02
8.0.140.0040.00416.77
8.0.130.0000.00513.41
8.0.120.0030.00517.01
8.0.110.0040.00417.02
8.0.100.0040.00416.98
8.0.90.0000.00716.88
8.0.80.0100.00616.96
8.0.70.0000.00717.04
8.0.60.0000.00716.93
8.0.50.0000.00716.78
8.0.30.0060.01217.04
8.0.20.0070.01017.40
8.0.10.0080.00017.00
8.0.00.0080.01016.67
7.4.330.0000.00515.08
7.4.320.0000.00616.60
7.4.300.0000.00716.55
7.4.290.0000.00716.59
7.4.280.0040.00416.53
7.4.270.0030.00316.49
7.4.260.0030.00316.62
7.4.250.0000.00716.47
7.4.240.0060.00216.50
7.4.230.0070.00016.41
7.4.220.0130.00916.66
7.4.210.0120.00616.65
7.4.200.0050.00316.50
7.4.160.0120.00816.49
7.4.150.0130.01017.40
7.4.140.0070.01117.86
7.4.130.0140.00716.59
7.4.120.0090.00816.54
7.4.110.0070.01016.43
7.4.100.0160.00316.55
7.4.90.0070.01016.54
7.4.80.0060.01219.39
7.4.70.0080.00816.54
7.4.60.0060.00916.59
7.4.50.0050.00316.59
7.4.40.0060.01216.49
7.4.30.0030.01516.53
7.4.00.0070.00715.07
7.3.330.0000.00613.10
7.3.320.0000.00513.13
7.3.310.0000.00716.12
7.3.300.0040.00316.25
7.3.290.0030.01316.34
7.3.280.0090.01116.22
7.3.270.0100.00717.40
7.3.260.0100.00716.38
7.3.250.0120.00616.51
7.3.240.0070.01116.44
7.3.230.0140.01016.39
7.3.210.0140.00316.40
7.3.200.0220.00019.39
7.3.190.0130.00916.51
7.3.180.0040.01216.44
7.3.170.0120.00916.30
7.3.160.0120.00916.30
7.2.330.0110.00816.36
7.2.320.0060.01016.68
7.2.310.0080.01516.41
7.2.300.0100.00616.56
7.2.290.0140.00716.37
7.2.110.0110.00416.63
7.2.100.0090.00616.48
7.2.90.0110.00416.59
7.2.80.0060.00916.67
7.2.70.0030.01016.81
7.2.60.0080.00616.93
7.2.50.0040.01117.07
7.2.40.0030.00716.93
7.2.30.0040.01516.97
7.2.20.0090.00617.06
7.2.10.0130.00016.60
7.2.00.0050.00918.20
7.1.230.0070.00315.81
7.1.220.0060.00615.62
7.1.210.0040.00815.32
7.1.200.0030.00615.88
7.1.190.0060.00915.57
7.1.180.0090.00615.62
7.1.170.0040.00415.74
7.1.160.0060.00615.47
7.1.150.0000.01315.59
7.1.140.0140.00015.79
7.1.130.0060.00315.48
7.1.120.0090.00315.41
7.1.110.0060.00315.84
7.1.100.0030.00916.84
7.1.90.0000.01215.34
7.1.80.0100.00315.72
7.1.70.0060.00116.26
7.1.60.0100.01017.69
7.1.50.0130.00916.29
7.1.40.0030.01315.59
7.1.30.0030.01015.77
7.1.20.0030.01415.80
7.1.10.0000.00915.70
7.1.00.0050.04018.94
7.0.310.0070.00715.49
7.0.300.0040.01115.30
7.0.290.0070.00715.12
7.0.280.0090.00615.35
7.0.270.0050.00915.30
7.0.260.0000.01415.32
7.0.250.0000.01315.53
7.0.240.0070.00715.15
7.0.230.0000.01215.55
7.0.220.0000.00815.41
7.0.210.0120.00315.07
7.0.200.0020.00715.91
7.0.190.0060.00315.34
7.0.180.0090.00615.41
7.0.170.0040.01115.45
7.0.160.0060.00615.57
7.0.150.0060.00615.10
7.0.140.0040.00715.11
7.0.130.0040.00815.32
7.0.120.0030.00915.54
7.0.110.0030.00715.32
7.0.100.0000.00815.50
7.0.90.0060.00615.49
7.0.80.0100.00315.54
7.0.70.0100.00315.43
7.0.60.0080.03117.46
7.0.50.0060.04316.54
7.0.40.0050.02516.77
7.0.30.0070.02816.49
7.0.20.0150.04316.59
7.0.10.0030.04716.66
7.0.00.0070.02616.76
5.6.380.0030.00914.56
5.6.370.0030.01314.49
5.6.360.0040.01114.34
5.6.350.0000.00814.22
5.6.340.0040.00714.30
5.6.330.0070.00714.25
5.6.320.0110.00414.54
5.6.310.0000.01014.51
5.6.300.0000.01114.39
5.6.290.0080.00014.18
5.6.280.0030.04217.41
5.6.270.0100.00314.00
5.6.260.0030.00714.13
5.6.250.0060.00614.38
5.6.240.0040.00814.55
5.6.230.0060.00914.03
5.6.220.0030.01214.03
5.6.210.0090.04317.52
5.6.200.0030.02316.25
5.6.190.0100.03917.37
5.6.180.0160.02517.39
5.6.170.0150.02617.28
5.6.160.0090.03817.19
5.6.150.0130.02716.14
5.6.140.0050.04716.24
5.6.130.0060.04516.20
5.6.120.0070.04317.49
5.6.110.0080.04317.80
5.6.100.0120.04217.60
5.6.90.0050.03417.63
5.6.80.0100.04217.25
5.6.70.0060.00314.19
5.6.60.0030.00514.25
5.6.50.0060.00314.46
5.6.40.0000.01414.14
5.6.30.0030.00714.30
5.6.20.0060.00614.06
5.6.10.0130.00314.15
5.6.00.0090.00614.34
5.5.380.0030.00312.79
5.5.370.0000.00512.79
5.5.360.0040.00412.79
5.5.350.0130.04216.59
5.5.340.0090.02815.34
5.5.330.0060.04216.43
5.5.320.0070.04316.55
5.5.310.0200.03816.50
5.5.300.0050.03415.35
5.5.290.0050.02815.40
5.5.280.0090.04416.83
5.5.270.0080.04516.84
5.5.260.0070.04816.77
5.5.250.0070.04216.70
5.5.240.0030.02416.57
5.5.230.0060.00312.79
5.5.220.0030.00712.79
5.5.210.0090.00312.79
5.5.200.0030.00912.79
5.5.190.0000.01112.79
5.5.180.0030.00912.79
5.5.170.0040.00413.97
5.5.160.0070.00412.79
5.5.150.0050.00512.79
5.5.140.0000.01112.79
5.5.130.0070.00412.79
5.5.120.0070.00312.79
5.5.110.0000.00812.79
5.5.100.0030.00312.79
5.5.90.0030.00612.79
5.5.80.0000.00612.79
5.5.70.0040.00712.79
5.5.60.0060.00512.79
5.5.50.0050.00012.79
5.5.40.0050.00512.79
5.5.30.0000.00712.79
5.5.20.0000.00912.79
5.5.10.0000.00712.79
5.5.00.0060.00012.79
5.4.450.0300.02816.02
5.4.440.0080.03416.17
5.4.430.0550.00316.15
5.4.420.0570.00216.06
5.4.410.0610.00015.94
5.4.400.0550.00415.94
5.4.390.0720.00315.82
5.4.380.0420.00216.02
5.4.370.0280.00615.98
5.4.360.0450.00315.82
5.4.350.0680.00215.92
5.4.340.0580.00315.99
5.4.330.0070.00412.79
5.4.320.0370.00316.06
5.4.310.0330.00315.83
5.4.300.0750.00415.99
5.4.290.0650.00415.99
5.4.280.0700.00315.90
5.4.270.0650.00016.03
5.4.260.0610.00316.06
5.4.250.0620.00515.98
5.4.240.0750.00116.06
5.4.230.0800.00015.80
5.4.220.0640.00415.81
5.4.210.0710.00215.90
5.4.200.0770.00014.68
5.4.190.0760.00215.99
5.4.180.0840.00115.87
5.4.170.0660.00115.87
5.4.160.0640.00016.03
5.4.150.0690.00115.85
5.4.140.0550.00214.59
5.4.130.0550.00214.49
5.4.120.0620.00214.56
5.4.110.0610.00214.48
5.4.100.0650.00414.46
5.4.90.0670.00214.65
5.4.80.0630.00314.48
5.4.70.0600.00414.49
5.4.60.0650.00014.66
5.4.50.0600.00514.49
5.4.40.0600.00314.59
5.4.30.0770.00014.52
5.4.20.0730.00314.48
5.4.10.0840.00414.66
5.4.00.0890.00114.23
5.3.290.0780.00213.73
5.3.280.0670.00513.61
5.3.270.0800.00013.57
5.3.260.0570.00413.62
5.3.250.0660.00013.66
5.3.240.0830.00013.63
5.3.230.0680.00013.60
5.3.220.0940.00013.59
5.3.210.1020.00013.62
5.3.200.0750.00213.68
5.3.190.0850.00213.63
5.3.180.0820.00213.64
5.3.170.0900.00113.63
5.3.160.0860.00013.61
5.3.150.0770.00213.62
5.3.140.0700.00513.67
5.3.130.0730.00213.67
5.3.120.0750.00213.61
5.3.110.0750.00213.59
5.3.100.0720.00313.36
5.3.90.0650.00013.37
5.3.80.0600.00213.33
5.3.70.0680.00213.41
5.3.60.0620.00013.29
5.3.50.0640.00013.32
5.3.40.0600.00113.38
5.3.30.0550.00313.27
5.3.20.0600.00013.25
5.3.10.0610.00313.22
5.3.00.0360.00313.11
5.2.170.0260.00111.86
5.2.160.0350.00211.91
5.2.150.0520.00411.86
5.2.140.0520.00511.90
5.2.130.0460.00011.98
5.2.120.0650.00211.84
5.2.110.0480.00111.99
5.2.100.0530.00211.89
5.2.90.0520.00211.95
5.2.80.0480.00211.85
5.2.70.0470.00211.95
5.2.60.0550.00011.84
5.2.50.0500.00111.85
5.2.40.0400.00411.89
5.2.30.0570.00611.81
5.2.20.0590.00211.87
5.2.10.0390.00411.80
5.2.00.0520.00011.82
5.1.60.0480.00011.33
5.1.50.0450.00211.36
5.1.40.0400.00511.37
5.1.30.0400.00311.57
5.1.20.0410.00111.56
5.1.10.0460.00111.37
5.1.00.0360.00111.45
5.0.50.0290.00110.63
5.0.40.0330.00210.55
5.0.30.0420.00410.47
5.0.20.0330.00410.46
5.0.10.0320.00210.43
5.0.00.0360.00010.54
4.4.90.0220.0039.30
4.4.80.0260.0029.31
4.4.70.0190.0009.30
4.4.60.0220.0019.26
4.4.50.0230.0009.34
4.4.40.0340.0019.35
4.4.30.0250.0019.29
4.4.20.0230.0029.34
4.4.10.0310.0009.31
4.4.00.0320.0029.33
4.3.110.0230.0039.29
4.3.100.0310.0009.31
4.3.90.0260.0009.28
4.3.80.0300.0029.21
4.3.70.0250.0009.27
4.3.60.0220.0039.23
4.3.50.0250.0049.27
4.3.40.0300.0029.28
4.3.30.0170.0028.77
4.3.20.0180.0028.77
4.3.10.0270.0008.77
4.3.00.0080.01010.06

preferences:
72.25 ms | 403 KiB | 5 Q