3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new SimpleXMLElement( '<catalogo> <server> <nome>ltw1319</nome> <convenzione>comprato</convenzione> <interoperabilita>Aggregato</interoperabilita> <url>http://ltw1319.web.cs.unibo.it/richieste</url> </server> <server> <nome>ltw1330</nome> <convenzione>comprato</convenzione> <interoperabilita>Aggregato</interoperabilita> <url>http://ltw1330.web.cs.unibo.it/richieste</url> </server> <server> <nome>ltw1336</nome> <convenzione>comprato</convenzione> <interoperabilita>Aggregato</interoperabilita> <url>http://ltw1336.web.cs.unibo.it/richieste</url> </server> <server> <nome>ltw1311</nome> <convenzione>Integrato</convenzione> <interoperabilita>Aggregato</interoperabilita> <url>http://ltw1311.web.cs.unibo.it/richieste</url> </server> </catalogo> '); $ulrscomprati = array(); $xml = simplexml_load_file('server.xml'); $item = $xml->server; $count=0; foreach($item as $dati){ $ur=$dati->url; if($ur != ""){ $ulrscomprati[$count]=$ur; } $count=$count+1; } echo $ulrscomprati[$count]; $result_from_server = json_encode(multiple_threads_request($ulrscomprati,$data) ); }else{echo"gay";

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)
5.5.90.0100.06317.19
5.5.80.0100.03317.33
5.5.70.0130.07317.22
5.5.60.0130.05317.32
5.5.50.0070.06717.23
5.5.40.0130.03317.20
5.5.30.0100.05717.18
5.5.20.0030.07717.21
5.5.10.0030.08017.16
5.5.00.0130.06017.18
5.4.250.0100.03319.09
5.4.240.0230.04319.01
5.4.230.0000.05019.09
5.4.220.0100.06318.95
5.4.210.0070.07019.05
5.4.200.0100.04318.88
5.4.190.0030.05718.97
5.4.180.0100.06719.09
5.4.170.0030.07319.00
5.4.160.0030.05019.01
5.4.150.0000.05019.00
5.4.140.0070.07316.40
5.4.130.0030.07716.39
5.4.120.0070.04316.32
5.4.110.0030.07716.46
5.4.100.0070.05316.24
5.4.90.0070.04316.32
5.4.80.0170.06716.39
5.4.70.0170.03316.33
5.4.60.0130.06316.34
5.4.50.0200.05716.39
5.4.40.0030.04716.36
5.4.30.0070.07716.44
5.4.20.0070.06016.45
5.4.10.0070.07716.40
5.4.00.0100.06715.75
5.3.280.0100.07714.58
5.3.270.0030.08314.57
5.3.260.0000.05314.45
5.3.250.0030.06014.61
5.3.240.0100.07014.55
5.3.230.0130.03714.57
5.3.220.0030.03714.39
5.3.210.0070.07314.59
5.3.200.0130.06714.52
5.3.190.0030.08014.66
5.3.180.0070.07714.54
5.3.170.0070.07314.51
5.3.160.0130.07314.52
5.3.150.0030.05314.35
5.3.140.0000.07714.64
5.3.130.0100.07314.54
5.3.120.0100.07014.41
5.3.110.0130.07014.54
5.3.100.0100.07313.98
5.3.90.0030.05313.99
5.3.80.0070.07313.98
5.3.70.0030.04714.00
5.3.60.0000.04013.96
5.3.50.0070.03713.80
5.3.40.0030.08013.86
5.3.30.0070.07013.91
5.3.20.0100.05313.64
5.3.10.0030.07313.51
5.3.00.0000.05713.43

preferences:
138.67 ms | 1394 KiB | 7 Q