3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set("soap.wsdl_cache_enabled", "0"); ini_set('default_socket_timeout', 600); try { $soap_option = array('trace' => true, 'connection_timeout' => 120, 'exceptions' => true); $requestParams = array('usuario' => 'reservasweb', 'pass' => 'Turis2015'); $client = new SoapClient('http://turismar.servidoresdelsur.uy:8081/PostDesa/ReservaServicio.svc?wsdl',$soap_option); $result = $client->DoLogin($requestParams); //, array('trace' => 1, 'soap_version' => SOAP_2_0, 'encoding'=> 'UTF-8') $sessionID = $result->DoLoginResult; //echo $sessionID; } catch (Exception $e) { var_dump($e); } header('Content-type: application/xml'); echo $client->__getLastResponse(); ?>
based on Rfpno

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.10.0000.00916.53
7.3.00.0040.01216.51
7.2.130.0030.01316.91
7.2.120.0090.00616.90
7.2.110.0030.01416.81
7.2.100.0090.00016.86
7.2.90.0070.00716.92
7.2.80.0000.01116.60
7.2.70.0060.01316.62
7.2.60.0070.00816.89
7.2.50.0060.01016.84
7.2.40.0090.00316.92
7.2.30.0030.01316.63
7.2.20.0150.00016.96
7.2.10.0110.00016.89
7.2.00.0080.00617.73
7.1.250.0070.00315.80
7.1.200.0120.00315.61
7.1.100.0060.01018.16
7.1.70.0000.00916.96
7.1.60.0100.01419.17
7.1.50.0080.00416.73
7.1.00.0100.07022.32
7.0.200.0040.00416.77
7.0.60.0230.07019.98
7.0.50.0100.03317.83
7.0.40.0030.06320.23
7.0.30.0300.07320.09
7.0.20.0300.07720.20
7.0.10.0030.07720.17
7.0.00.0000.04320.12
5.6.280.0030.05721.07
5.6.210.0100.07320.45
5.6.200.0170.07318.18
5.6.190.0130.03720.45
5.6.180.0100.03720.65
5.6.170.0200.06720.50
5.6.160.0030.07020.52
5.6.150.0070.03718.16
5.6.140.0030.07018.09
5.6.130.0070.05718.11
5.6.120.0030.04320.98
5.6.110.0100.05020.97
5.6.100.0030.07721.00
5.6.90.0000.09321.12
5.6.80.0030.04020.40
5.6.70.3930.04320.27
5.5.350.0230.04720.42
5.5.340.0070.07718.02
5.5.330.0070.04020.19
5.5.320.0030.04020.31
5.5.310.0270.08320.25
5.5.300.0070.03717.89
5.5.290.0030.06317.89
5.5.280.0170.07320.65
5.5.270.0130.06320.86
5.5.260.0070.08320.64
5.5.250.0130.07320.50
5.5.240.0200.07320.23
5.4.450.0370.06019.58
5.4.440.0330.06719.57
5.4.430.0300.07719.41
5.4.420.0370.06319.55
5.4.410.0270.04319.08
5.4.400.0330.04318.79
5.4.390.0270.07318.92
5.4.380.0400.05019.09
5.4.370.0330.06019.13
5.4.360.0400.06319.12
5.4.350.0330.07319.24
5.4.340.0330.06719.25
5.4.320.0330.06719.13
5.4.310.0270.07319.09
5.4.300.0330.06319.08
5.4.290.0330.07019.09
5.4.280.0370.06319.17
5.4.270.0270.07719.23
5.4.260.0370.05019.24
5.4.250.0330.07019.07
5.4.240.0300.05019.07
5.4.230.0330.06719.23
5.4.220.0200.05319.14
5.4.210.0300.07319.12
5.4.200.0230.07019.07
5.4.190.0400.06719.13
5.4.180.0200.04319.12
5.4.170.0230.04019.12
5.4.160.0230.04019.02
5.4.150.0270.07319.13
5.4.140.0270.04716.29
5.4.130.0230.05716.28
5.4.120.0230.05316.28
5.4.110.0330.08716.39
5.4.100.0200.04716.34
5.4.90.0200.05316.39
5.4.80.0200.03316.50
5.3.290.0400.06315.19
5.3.280.0300.06715.06
5.3.270.0430.03714.97
5.3.260.0200.05015.12
5.3.250.0230.05314.96
5.3.240.0200.03714.89
5.3.230.0270.06015.05
5.3.220.0270.04314.93
5.3.210.0300.07715.05
5.3.200.0300.03714.90
5.3.190.0200.08015.04
5.3.180.0300.05014.92