3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $endpoint = 'http://www.corretor-online.com.br/HostWS.asmx?WSDL'; try { $client = new SoapClient( $endpoint, array( 'soap_version' => SOAP_1_2, 'trace' => 1 ) ); $data = array( 'corretora' => 'COLWEB', 'userName' => 'luca01', 'password' => '123456' ); try { $response = $client->Login( $data ); echo '<pre>'; print_r( $response ); } catch (Exception $e) { echo $e->getMessage(); } } catch (SoapFault $e) { echo $e->getMessage(); } ?>

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.0070.00716.47
7.3.00.0000.01116.28
7.2.130.0110.00316.88
7.2.120.0030.00616.95
7.2.110.0000.01216.88
7.2.100.0000.01216.85
7.2.90.0040.00716.71
7.2.80.0070.00716.61
7.2.70.0030.00716.79
7.2.60.0080.00216.74
7.2.50.0030.01016.94
7.2.40.0040.00716.72
7.2.30.0090.00316.86
7.2.20.0040.00716.79
7.2.10.0060.00616.77
7.2.00.0060.00917.98
7.1.250.0070.00315.54
7.1.200.0080.00615.43
7.1.100.0000.01018.08
7.1.70.0030.00616.80
7.1.60.0030.01719.11
7.1.50.0090.00416.88
7.1.00.0030.07322.54
7.0.200.0040.00416.91
7.0.60.0130.06319.92
7.0.50.0070.03717.85
7.0.40.0000.04720.02
7.0.30.0200.04020.33
7.0.20.0230.05020.09
7.0.10.0130.07720.09
7.0.00.0070.05020.17
5.6.280.0000.07721.07
5.6.210.0070.08320.54
5.6.200.0000.04718.20
5.6.190.0030.04320.77
5.6.180.0400.06320.67
5.6.170.0200.08720.52
5.6.160.0100.08320.52
5.6.150.0070.07318.12
5.6.140.0100.08318.18
5.6.130.0030.04018.21
5.6.120.0000.05321.02
5.6.110.0130.08020.95
5.6.100.0070.08721.13
5.6.90.0100.04720.95
5.6.80.0100.07720.43
5.5.350.0330.06320.47
5.5.340.0130.06317.95
5.5.330.0130.06020.45
5.5.320.0170.05020.31
5.5.310.0270.05320.20
5.5.300.0100.07717.93
5.5.290.0070.04018.02
5.5.280.0070.04020.95
5.5.270.0070.04320.86
5.5.260.0100.06320.96
5.5.250.0030.08320.46
5.5.240.0000.07320.12
5.4.450.0770.06019.41
5.4.440.0800.05319.34
5.4.430.0800.05319.63
5.4.420.0770.05719.58
5.4.410.0730.05719.47
5.4.400.0970.05319.32
5.4.390.1030.06018.81
5.4.380.0800.05019.17
5.4.370.0870.04018.95
5.4.360.0800.04719.22
5.4.350.0800.05019.15
5.4.340.1170.04319.28
5.4.320.1300.06719.00
5.4.310.1000.05018.77
5.4.300.1100.04718.99
5.4.290.1070.05319.12
5.4.280.1070.04719.14
5.4.270.0870.04319.12
5.4.260.0870.04019.25
5.4.250.0970.05318.94
5.4.240.0770.05318.80
5.4.230.0630.06319.25
5.4.220.0970.05718.80
5.4.210.1100.05319.29
5.4.200.0930.05719.25
5.4.190.0730.05718.91
5.4.180.0870.06019.24
5.4.170.0870.05019.21
5.4.160.0800.05019.27
5.4.150.0670.06319.17
5.4.140.0970.06016.23
5.4.130.0930.03716.34
5.4.120.0770.04716.42
5.4.110.0770.05016.45
5.4.100.0700.06016.19
5.4.90.0870.05316.07
5.4.80.0970.06016.50
5.4.70.0070.03016.41
5.4.60.0170.03316.05
5.4.50.0000.06316.36
5.4.40.0130.07016.32
5.4.30.0000.07316.36
5.4.20.0030.03016.35
5.4.10.0600.03716.14
5.3.290.3930.03315.18
5.3.280.3370.04015.16
5.3.270.3300.04015.05
5.3.260.3970.03714.89
5.3.250.0070.05715.02
5.3.240.3070.03315.13
5.3.230.0130.04314.85
5.3.220.3030.04014.93
5.3.210.0270.07314.84
5.3.200.0300.07015.05
5.3.190.3030.03715.11
5.3.180.0370.04315.09