3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Username and password. $username = 'phillip.morris@gbgplc.com'; $password = 'Sp1der031!'; $wsdl = 'https://idmp.gb.co.uk/idm-globalservices-ws/GlobalServices15b.wsdl'; $soapClient = new SoapClient($wsdl, array('compression' => SOAP_COMPRESSION_ACCEPT, 'trace' => 1, 'cache_wsdl' => WSDL_CACHE_NONE,)); //Authenticate user account and return authenticationToken $clientIP = $_SERVER['REMOTE_ADDR']; $authUserArray = array('username' => $username, 'userIdentity' => '', 'password' => $password, 'ipAddress' => $clientIP); try { $soapAuthUser = $soapClient->AuthenticateUser($authUserArray); $authToken = $soapAuthUser->authenticationToken; } catch (Exception $e) { echo '<h3>soapAuthenticateUser Exception</h3><br />'; echo '<pre>'; print_r($e); echo '</pre>'; } //Security Header $objParam = new stdClass(); $objParam ->securityHeader = new stdClass(); $objParam ->securityHeader->ipAddress = $clientIP; $objParam ->securityHeader->authenticationToken = $authToken; $objParam ->securityHeader->username = $username; //Configuration $objParam ->profileRequest = new stdClass(); $objParam ->profileRequest->customerReference = 'DR-Address-PHP'; $objParam ->profileRequest->profileGuid= '6C49BC44-C104-41b2-BB62-2AE45A09DD54'; $objParam ->profileRequest->configurationId = '1'; //Address Data $objParam ->profileRequest->requestData = new stdClass(); $objParam ->profileRequest->requestData->address = new stdClass(); $objParam ->profileRequest->requestData->address->organisation = ''; $objParam ->profileRequest->requestData->address->street = ''; $objParam ->profileRequest->requestData->address->town = ''; $objParam ->profileRequest->requestData->address->postCode = 'CH4 9GB'; $objParam ->profileRequest->requestData->address->locality = ''; $objParam ->profileRequest->requestData->address->subBuilding = ''; $objParam ->profileRequest->requestData->address->building = ''; $objParam ->profileRequest->requestData->address->subLocality = ''; $objParam ->profileRequest->requestData->address->stateRegion = ''; $objParam ->profileRequest->requestData->address->countryCode = 'GBR'; $objParam ->profileRequest->requestData->address->poBox = ''; $objParam ->profileRequest->requestData->address->freeFormatAddress = ''; //Options $objParam ->profileRequest->requestData->options = new stdClass(); $objParam ->profileRequest->requestData->options->addressEnvelopeFormat = 'A4P'; $objParam ->profileRequest->requestData->options->offset = '0'; $objParam ->profileRequest->requestData->options->maxReturn = '0'; $objParam ->profileRequest->requestData->options->addressSearchLevel = 'PREMISE'; try { $objRet = $soapClient->ExecuteCapture($objParam); echo '<h3>soapExecuteCapture Results</h3><br />'; echo '<pre>'; print_r($objRet); echo '</pre>';} catch (Exception $e) { echo '<h3>soapExecuteCapture Exception</h3><br />'; echo '<pre>'; print_r($e); echo '</pre>'; } ?>

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.0120.00618.68
8.3.50.0100.01021.20
8.3.40.0040.01118.84
8.3.30.0150.00018.93
8.3.20.0040.00420.27
8.3.10.0000.00821.77
8.3.00.0030.00517.80
8.2.180.0180.00016.50
8.2.170.0110.00722.96
8.2.160.0070.00720.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00417.50
8.2.110.0080.00320.41
8.2.100.0060.00617.75
8.2.90.0080.00019.22
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0080.00017.93
8.2.50.0040.00418.07
8.2.40.0050.00219.53
8.2.30.0040.00420.79
8.2.20.0040.00417.79
8.2.10.0040.00418.17
8.2.00.0020.00518.22
8.1.280.0100.00725.92
8.1.270.0040.00423.80
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0070.00323.97
8.1.230.0040.00817.48
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0090.00017.38
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0040.00418.71
8.1.160.0040.00422.09
8.1.150.0040.00418.99
8.1.140.0000.00817.48
8.1.130.0030.00317.67
8.1.120.0000.00817.46
8.1.110.0000.00817.48
8.1.100.0000.00717.46
8.1.90.0040.00417.46
8.1.80.0000.00817.42
8.1.70.0040.00417.39
8.1.60.0060.00317.63
8.1.50.0060.00317.54
8.1.40.0030.00617.50
8.1.30.0000.00917.67
8.1.20.0000.00817.67
8.1.10.0000.00717.66
8.1.00.0000.00817.59
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0040.00418.47
8.0.270.0000.00717.21
8.0.260.0030.00317.21
8.0.250.0070.00017.10
8.0.240.0000.00817.06
8.0.230.0060.00617.08
8.0.220.0070.00316.90
8.0.210.0040.00416.97
8.0.200.0000.00717.05
8.0.190.0030.00517.01
8.0.180.0000.00716.89
8.0.170.0040.00416.93
8.0.160.0000.00717.02
8.0.150.0030.00316.92
8.0.140.0000.00816.88
8.0.130.0060.00013.39
8.0.120.0000.00816.95
8.0.110.0040.00417.05
8.0.100.0040.00417.01
8.0.90.0000.00816.82
8.0.80.0090.00616.96
8.0.70.0000.00716.88
8.0.60.0070.00016.90
8.0.50.0050.00217.01
8.0.30.0140.00717.18
8.0.20.0080.01017.40
8.0.10.0080.00017.05
8.0.00.0070.01316.78
7.4.330.0040.00315.08
7.4.320.0000.00716.58
7.4.300.0030.00316.69
7.4.290.0030.00316.66
7.4.280.0080.00016.61
7.4.270.0070.00016.53
7.4.260.0070.00016.58
7.4.250.0000.00716.64
7.4.240.0030.00416.61
7.4.230.0040.00416.63
7.4.220.0110.00616.64
7.4.210.0090.00616.66
7.4.200.0040.00416.70
7.4.160.0100.01016.55
7.4.150.0120.00617.40
7.4.140.0130.01117.86
7.4.130.0110.01316.65
7.4.120.0110.00816.64
7.4.110.0150.00316.50
7.4.100.0150.00416.57
7.4.90.0070.01016.68
7.4.80.0050.01119.39
7.4.70.0060.01116.61
7.4.60.0060.01016.65
7.4.50.0050.00316.52
7.4.40.0120.00916.44
7.4.30.0120.01116.66
7.4.00.0040.01015.24
7.3.330.0000.00613.25
7.3.320.0030.00313.21
7.3.310.0060.00316.50
7.3.300.0050.00316.21
7.3.290.0090.00816.34
7.3.280.0100.00816.35
7.3.270.0070.01117.40
7.3.260.0060.01316.42
7.3.250.0110.00916.37
7.3.240.0150.00316.60
7.3.230.0060.01616.54
7.3.210.0070.01316.31
7.3.200.0070.01016.54
7.3.190.0000.01616.59
7.3.180.0150.00316.54
7.3.170.0090.00916.62
7.3.160.0120.00916.39
7.2.330.0100.01016.54
7.2.320.0120.00616.36
7.2.310.0100.01116.50
7.2.300.0110.00616.38
7.2.290.0040.01316.52
7.2.110.0080.01116.48
7.2.60.0000.01216.77
7.2.00.0080.00419.38
7.1.200.0040.00715.51
7.1.100.0040.00717.94
7.1.70.0000.01117.00
7.1.60.0140.01019.19
7.1.50.0120.01216.85
7.1.00.0070.07022.32
7.0.200.0060.00316.59
7.0.60.0030.04019.95
7.0.50.0030.05717.83
7.0.40.0030.04320.09
7.0.30.0300.06020.01
7.0.20.0130.05020.02
7.0.10.0030.04320.13
7.0.00.0130.06720.19
5.6.280.0000.03321.05
5.6.210.0070.06320.73
5.6.200.0100.05018.21
5.6.190.0100.03720.35
5.6.180.0400.03320.32
5.6.170.0200.08320.50
5.6.160.0030.04320.50
5.6.150.0100.07718.21
5.6.140.0030.04018.23
5.6.130.0130.05018.21
5.6.120.0030.04320.94
5.6.110.0170.07321.13
5.6.100.0000.04321.10
5.6.90.0170.07021.05
5.6.80.0200.05720.56
5.5.350.0030.07720.36
5.5.340.0000.09017.96
5.5.330.0000.04720.40
5.5.320.0330.06720.31
5.5.310.0370.07320.31
5.5.300.0100.03717.98
5.5.290.0070.08317.95
5.5.280.0100.05021.00
5.5.270.0130.04020.98
5.5.260.0070.04020.91
5.5.250.0100.04320.61
5.5.240.0230.05320.21
5.4.450.0230.05019.49
5.4.440.0070.06019.45
5.4.430.0130.05319.27
5.4.420.0200.04719.41
5.4.410.0230.04319.50
5.4.400.0100.05319.30
5.4.390.0130.05019.13
5.4.380.0070.05719.15
5.4.370.0100.05318.80
5.4.360.0070.06018.95
5.4.350.0230.04018.74
5.4.340.0100.06019.34
5.4.320.0100.06018.77
5.4.310.0170.05019.28
5.4.300.0070.06019.19
5.4.290.0200.05018.91
5.4.280.0200.04718.91
5.4.270.0200.05019.16
5.4.260.0100.05719.25
5.4.250.0170.06019.18
5.4.240.0330.03719.08
5.4.230.0270.04018.91
5.4.220.0130.05719.13
5.4.210.0130.05719.27
5.4.200.0170.05319.15
5.4.190.0100.06018.76
5.4.180.0100.06019.15
5.4.170.0230.04719.27
5.4.160.0070.05719.06
5.4.150.0200.05019.12
5.4.140.0070.05716.65
5.4.130.0130.05016.50
5.4.120.0200.04016.49
5.4.110.0100.05716.41
5.4.100.0230.04016.30
5.4.90.0230.04016.55
5.4.80.0200.06016.48
5.4.70.0230.06316.32
5.4.60.0270.06316.36
5.4.50.0030.03316.41
5.4.40.0230.04016.05
5.4.30.0200.04316.41
5.4.20.0230.05716.38

preferences:
60.15 ms | 401 KiB | 5 Q