3v4l.org

run code in 300+ PHP versions simultaneously
<?php $img_client="http://www.freeradionetwork.eu/NetworkPictures/pc_client.gif"; $img_gateway="http://www.freeradionetwork.eu/NetworkPictures/gatewayAn.gif"; //a seguinte linha funciona no pc, mas não online em servidores sem a função activada $xml = simplexml_load_file('http://www.freeradionetwork.eu/NetworkStatus/web_cast.xml'); $i=-1; echo '<ul id="servidores">'."\n"; foreach ($xml as $xmlinfo): $nome=$xmlinfo['name']; if ($i!=-1) { //porque a primeira linha é:"<SystemStatus DataUpdate="True"/>" e não um server if ($nome=="alverca.no-ip.org - Port: 10023" || $nome=="america-portugal.no-ip.org - Port: 10018" || $nome=="atalaia-frn.no-ip.org - Port: 10025" || $nome=="eqso-gdm2.dyndns.org - Port: 10024" || $nome=="firealpha.dyndns.org - Port: 10024" || $nome=="frn-algarve.no-ip.org - Port: 10024" || $nome=="frn-portugal.no-ip.org - Port: 10024" || $nome=="frn-portugal2.no-ip.org - Port: 10024" || $nome=="navegantespt.no-ip.org - Port: 10022" || $nome=="master.freeradionetwork.pt - Port: 10024" || $nome=="master2.freeradionetwork.pt - Port: 10024" || $nome=="portugal-pmr.no-ip.org - Port: 10020" || $nome=="tiaanicaloule.mine.nu - Port: 10024" || $nome=="pmrpampi.no-ip.org - Port: 10024" || $nome=="mhzgaia.no-ip.org - Port: 10024" || $nome=="frn-portugal.no-ip.org - Port: 10000") { echo '<li><div class="nome"><b>'.$nome.'</b></div></li>'."\n"; //apresentar os servidores echo '<ul id="canais">'."\n"; $j=0; foreach ($xml->server[$i]->net as $canal): $canal_nome=$canal['name']; echo '<li><div class="canal_nome"><b>'.$canal_nome.'</b></div></li>'."\n"; //apresentar os canais echo '<ul id="users">'."\n"; foreach ($xml->server[$i]->net[$j] as $client): $client_nome=$client['name']; $gateway=$client['gateway']; if ($gateway == "True") { //apresentar os clients echo '<li><div class="client_nome"><img src="'.$img_gateway.'" height="15px"/>'.$client_nome.'</div></li>'."\n"; } else { echo '<li><div class="client_nome"><img src="'.$img_client.'" height="15px"/>'.$client_nome.'</div></li>'."\n"; } endforeach; echo "</ul>"."\n"; endforeach; $j++; echo "</ul>"."\n"; } } $i++; endforeach; echo "</ul>"."\n";

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.0130.00718.80
8.3.50.0140.00321.27
8.3.40.0110.00418.89
8.3.30.0140.00020.54
8.3.20.0070.00720.91
8.3.10.0050.00321.50
8.3.00.0000.00822.91
8.2.180.0070.01117.00
8.2.170.0000.01522.96
8.2.160.0070.00720.68
8.2.150.0050.00324.18
8.2.140.0090.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00421.50
8.2.110.0060.00319.47
8.2.100.0030.00918.09
8.2.90.0050.00319.35
8.2.80.0040.00418.16
8.2.70.0040.00417.75
8.2.60.0080.00018.18
8.2.50.0040.00418.07
8.2.40.0080.00018.45
8.2.30.0000.00919.71
8.2.20.0000.00817.90
8.2.10.0070.00018.04
8.2.00.0040.00918.04
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00624.14
8.1.230.0040.00821.28
8.1.220.0000.00818.77
8.1.210.0030.00619.35
8.1.200.0060.00317.60
8.1.190.0000.00817.76
8.1.180.0030.00518.10
8.1.170.0070.00318.99
8.1.160.0000.00719.18
8.1.150.0000.00818.89
8.1.140.0030.00517.75
8.1.130.0030.00318.17
8.1.120.0000.00817.54
8.1.110.0000.00717.75
8.1.100.0000.00717.63
8.1.90.0000.00717.52
8.1.80.0000.00717.75
8.1.70.0000.00717.61
8.1.60.0060.00317.82
8.1.50.0030.00517.66
8.1.40.0040.00417.68
8.1.30.0040.00417.82
8.1.20.0080.00017.90
8.1.10.0000.00717.83
8.1.00.0000.00817.73
8.0.300.0030.00820.10
8.0.290.0050.00317.27
8.0.280.0040.00418.69
8.0.270.0000.00817.56
8.0.260.0030.00317.13
8.0.250.0070.00317.15
8.0.240.0000.00817.33
8.0.230.0000.00717.32
8.0.220.0070.00017.27
8.0.210.0080.00017.13
8.0.200.0070.00017.27
8.0.190.0000.00717.23
8.0.180.0040.00417.22
8.0.170.0000.00817.13
8.0.160.0040.00417.18
8.0.150.0000.00717.16
8.0.140.0080.00017.27
8.0.130.0000.00613.75
8.0.120.0000.00917.13
8.0.110.0040.00417.22
8.0.100.0070.00017.23
8.0.90.0030.00617.09
8.0.80.0030.01317.29
8.0.70.0000.00917.22
8.0.60.0060.00317.18
8.0.50.0000.00817.29
8.0.30.0090.01117.38
8.0.20.0130.00817.40
8.0.10.0040.00417.23
8.0.00.0100.01017.13
7.4.330.0000.00617.16
7.4.320.0070.00016.82
7.4.300.0040.00416.90
7.4.290.0030.00316.81
7.4.280.0040.00416.60
7.4.270.0040.00416.70
7.4.260.0080.00013.68
7.4.250.0050.00316.91
7.4.240.0080.00017.01
7.4.230.0000.00716.89
7.4.220.0100.00916.80
7.4.210.0100.00816.96
7.4.200.0040.00416.86
7.4.190.0050.00316.78
7.4.160.0060.01216.94
7.4.150.0160.00317.40
7.4.140.0130.00717.86
7.4.130.0070.01416.82
7.4.120.0110.00916.77
7.4.110.0130.00416.68
7.4.100.0160.00316.97
7.4.90.0170.01016.79
7.4.80.0040.01719.39
7.4.70.0130.01016.77
7.4.60.0130.00716.91
7.4.50.0000.00916.89
7.4.40.0040.00822.77
7.4.30.0130.00616.79
7.4.10.0030.01416.01
7.4.00.0110.00715.83
7.3.330.0050.00013.36
7.3.320.0030.00313.54
7.3.310.0040.00416.67
7.3.300.0040.00416.60
7.3.290.0040.01116.55
7.3.280.0100.00916.62
7.3.270.0150.00917.40
7.3.260.0160.00618.24
7.3.250.0150.00616.60
7.3.240.0120.00616.68
7.3.230.0150.00616.79
7.3.210.0070.01116.84
7.3.200.0120.01219.39
7.3.190.0090.00916.84
7.3.180.0060.01316.75
7.3.170.0060.01116.72
7.3.160.0090.01316.48
7.3.130.0080.00915.78
7.3.120.0080.00915.50
7.3.110.0100.00915.88
7.3.100.0060.01115.91
7.3.90.0070.00815.78
7.3.80.0070.00915.91
7.3.70.0050.01015.84
7.3.60.0130.00515.95
7.3.50.0070.01015.81
7.3.40.0080.00815.97
7.3.30.0060.00915.83
7.3.20.0100.00517.71
7.3.10.0050.00917.18
7.3.00.0110.00917.17
7.2.330.0120.01216.85
7.2.320.0070.01416.99
7.2.310.0130.01316.87
7.2.300.0090.00916.88
7.2.290.0070.01017.10
7.2.260.0090.00916.08
7.2.250.0070.01115.92
7.2.240.0040.01516.16
7.2.230.0040.01315.99
7.2.220.0130.00215.89
7.2.210.0100.00716.00
7.2.200.0080.00816.07
7.2.190.0070.01015.98
7.2.180.0050.01115.96
7.2.170.0050.00816.10
7.2.160.0040.00916.04
7.2.150.0040.01317.88
7.2.140.0050.00718.03
7.2.130.0100.01017.60
7.2.120.0100.00917.55
7.2.110.0110.00917.44
7.2.100.0070.01017.39
7.2.90.0090.00717.48
7.2.80.0080.00817.40
7.2.70.0130.00717.47
7.2.60.0070.01017.40
7.2.50.0090.00617.36
7.2.40.0100.00917.35
7.2.30.0080.00917.51
7.2.20.0040.01117.31
7.2.10.0070.00917.40
7.2.00.0110.00618.17
7.1.330.0070.00916.71
7.1.320.0060.00716.66
7.1.310.0110.00316.84
7.1.300.0070.00716.91
7.1.290.0100.00616.67
7.1.280.0050.00916.65
7.1.270.0080.00716.88
7.1.260.0110.00516.56
7.1.250.0110.00516.37
7.1.240.0060.00516.80
7.1.230.0020.01116.82
7.1.220.0080.00716.71
7.1.210.0050.00516.63
7.1.200.0040.01016.36
7.1.190.0040.01316.64
7.1.180.0080.00616.65
7.1.170.0060.00616.79
7.1.160.0070.00416.79
7.1.150.0070.00916.83
7.1.140.0040.00816.61
7.1.130.0060.00716.66
7.1.120.0020.01316.74
7.1.110.0050.01016.69
7.1.100.0060.00617.29
7.1.90.0060.00916.61
7.1.80.0030.01316.60
7.1.70.0050.00816.98
7.1.60.0070.00617.54
7.1.50.0100.00916.78
7.1.40.0070.01016.81
7.1.30.0050.01116.78
7.1.20.0070.00616.70
7.1.10.0080.00316.67
7.1.00.0050.01918.82
7.0.330.0060.00616.38
7.0.320.0050.00716.53
7.0.310.0030.00916.21
7.0.300.0050.00916.40
7.0.290.0060.00816.33
7.0.280.0070.00916.39
7.0.270.0000.01316.28
7.0.260.0080.00916.34
7.0.250.0050.00916.44
7.0.240.0040.01216.40
7.0.230.0060.00616.27
7.0.220.0050.01216.38
7.0.210.0090.00916.46
7.0.200.0030.01116.68
7.0.190.0050.00816.39
7.0.180.0080.00516.39
7.0.170.0100.00516.61
7.0.160.0030.01116.45
7.0.150.0070.00516.47
7.0.140.0090.02418.50
7.0.130.0040.00716.53
7.0.120.0030.01116.50
7.0.110.0060.00316.61
7.0.100.0030.02517.80
7.0.90.0050.03417.70
7.0.80.0050.02417.84
7.0.70.0040.03017.76
7.0.60.0070.02017.68
7.0.50.0120.01917.95
7.0.40.0070.02016.40
7.0.30.0060.02216.48
7.0.20.0050.01816.46
7.0.10.0090.01816.49
7.0.00.0050.02116.54
5.6.400.0100.00515.50
5.6.390.0060.01015.38
5.6.380.0020.01215.37
5.6.370.0050.01015.28
5.6.360.0110.00415.14
5.6.350.0050.01115.45
5.6.340.0080.00815.55
5.6.330.0140.00315.23
5.6.320.0050.01115.54
5.6.310.0110.00315.43
5.6.300.0030.01215.47
5.6.290.0090.00515.23
5.6.280.0050.03117.31
5.6.270.0080.00715.41
5.6.260.0050.00715.38
5.6.250.0080.02117.16
5.6.240.0100.02117.26
5.6.230.0090.01817.28
5.6.220.0090.01417.17
5.6.210.0060.01717.16
5.6.200.0030.03317.42
5.6.190.0070.02017.34
5.6.180.0090.01617.41
5.6.170.0040.02417.31
5.6.160.0100.01617.33
5.6.150.0070.02217.53
5.6.140.0070.01617.49
5.6.130.0070.02017.25
5.6.120.0080.01717.33
5.6.110.0100.01917.25
5.6.100.0050.01917.46
5.6.90.0070.02017.39
5.6.80.0050.03217.09
5.6.70.0080.01817.01
5.6.60.0040.02117.16
5.6.50.0080.01717.00
5.6.40.0090.01717.26
5.6.30.0090.01417.05
5.6.20.0040.02117.13
5.6.10.0070.02017.12
5.6.00.0060.01817.06
5.5.380.0110.01816.94
5.5.370.0030.02317.15
5.5.360.0060.01817.07
5.5.350.0040.02017.17
5.5.340.0070.01717.25
5.5.330.0060.02517.18
5.5.320.0060.01717.39
5.5.310.0020.02217.32
5.5.300.0020.02617.17
5.5.290.0030.02617.40
5.5.280.0070.02117.32
5.5.270.0060.02017.27
5.5.260.0020.02417.22
5.5.250.0100.01717.20
5.5.240.0070.02117.21
5.5.230.0060.02017.02
5.5.220.0060.01817.09
5.5.210.0030.02216.99
5.5.200.0050.01516.96
5.5.190.0060.01716.96
5.5.180.0050.01617.07
5.5.170.0040.01315.07
5.5.160.0090.01417.00
5.5.150.0080.02416.91
5.5.140.0060.01616.96
5.5.130.0090.02817.11
5.5.120.0040.03416.93
5.5.110.0040.03617.09
5.5.100.0050.03117.13
5.5.90.0070.02217.08
5.5.80.0080.02916.70
5.5.70.0080.03117.00
5.5.60.0040.03216.92
5.5.50.0060.01716.99
5.5.40.0030.03116.88
5.5.30.0070.02616.87
5.5.20.0020.03217.02
5.5.10.0080.02716.92
5.5.00.0110.01816.83
5.4.450.0060.02314.58
5.4.440.0040.01714.75
5.4.430.0010.01914.62
5.4.420.0060.01714.69
5.4.410.0070.01614.67
5.4.400.0020.02014.59
5.4.390.0050.02014.56
5.4.380.0060.01714.51
5.4.370.0050.01814.63
5.4.360.0060.01314.50
5.4.350.0040.01614.55
5.4.340.0030.01614.44
5.4.330.0050.00712.15
5.4.320.0080.02314.55
5.4.310.0060.01614.62
5.4.300.0060.01314.64
5.4.290.0080.02614.54
5.4.280.0040.02914.56
5.4.270.0070.01314.52
5.4.260.0030.03114.49
5.4.250.0050.02714.60
5.4.240.0080.02814.65
5.4.230.0060.03114.46
5.4.220.0060.02714.60
5.4.210.0080.01314.47
5.4.200.0060.01914.55
5.4.190.0040.01714.53
5.4.180.0030.03114.42
5.4.170.0020.03314.46
5.4.160.0010.02314.47
5.4.150.0110.02814.57
5.4.140.0040.01813.71
5.4.130.0040.02913.76
5.4.120.0040.02013.70
5.4.110.0050.02813.63
5.4.100.0070.02813.72
5.4.90.0070.02813.68
5.4.80.0060.02913.76
5.4.70.0090.02913.64
5.4.60.0100.02513.60
5.4.50.0060.02713.63
5.4.40.0050.01813.72
5.4.30.0050.02913.67
5.4.20.0020.02013.63
5.4.10.0040.02913.68
5.4.00.0070.02413.53
5.3.290.0050.01513.10
5.3.280.0060.02913.11
5.3.270.0050.03213.16
5.3.260.0030.03313.11
5.3.250.0030.02013.06
5.3.240.0020.03313.05
5.3.230.0060.03113.03
5.3.220.0050.03113.15
5.3.210.0110.02613.11
5.3.200.0090.02013.15
5.3.190.0040.02813.08
5.3.180.0040.02613.16
5.3.170.0080.02813.21
5.3.160.0070.02413.17
5.3.150.0030.03313.14
5.3.140.0020.02813.20
5.3.130.0050.01613.16
5.3.120.0030.03013.12
5.3.110.0050.02613.10
5.3.100.0030.02913.04
5.3.90.0020.02512.99
5.3.80.0050.03112.98
5.3.70.0040.02412.98
5.3.60.0050.01912.95
5.3.50.0040.02812.90
5.3.40.0120.02112.95
5.3.30.0050.02412.95
5.3.20.0030.02912.76
5.3.10.0060.02512.70
5.3.00.0050.02812.77
5.2.170.0170.05711.51
5.2.160.0070.05711.40
5.2.150.0070.06311.45
5.2.140.0070.04311.41
5.2.130.0000.04011.34
5.2.120.0070.06311.38
5.2.110.0030.06311.44
5.2.100.0100.06011.43
5.2.90.0130.05011.32
5.2.80.0130.06011.43
5.2.70.0130.05711.41
5.2.60.0070.03311.34
5.2.50.0030.06711.38
5.2.40.0030.04311.24
5.2.30.0070.05711.27
5.2.20.0070.06011.29
5.2.10.0070.04011.16
5.2.00.0000.06710.95
5.1.60.0070.05010.20
5.1.50.0070.05010.41
5.1.40.0070.04010.39
5.1.30.0070.02310.67
5.1.20.0070.04710.70
5.1.10.0030.04710.38
5.1.00.0070.02710.48
5.0.50.0000.04710.00
5.0.40.0000.04310.00
5.0.30.0030.05310.00
5.0.20.0000.02310.00
5.0.10.0000.02310.00
5.0.00.0030.06310.00
4.4.90.0100.02710.00
4.4.80.0070.03310.00
4.4.70.0070.03310.00
4.4.60.0070.03010.00
4.4.50.0070.03310.00
4.4.40.0070.05310.00
4.4.30.0030.03310.00
4.4.20.0000.02710.00
4.4.10.0030.03310.00
4.4.00.0070.05010.00
4.3.110.0100.03010.00
4.3.100.0030.01310.00
4.3.90.0030.01310.00
4.3.80.0030.03310.00
4.3.70.0000.03010.00
4.3.60.0000.03710.00
4.3.50.0070.02710.00
4.3.40.0030.05010.00
4.3.30.0030.02310.00
4.3.20.0000.03310.00
4.3.10.0030.03010.00
4.3.00.0070.02310.00

preferences:
72.41 ms | 400 KiB | 5 Q