3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Username and password. $username = 'phillip.morris@gbgplc.com'; $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.0070.01118.41
8.3.50.0140.00821.08
8.3.40.0040.01119.02
8.3.30.0100.00618.93
8.3.20.0060.00320.32
8.3.10.0000.00821.80
8.3.00.0050.00318.03
8.2.180.0000.01416.61
8.2.170.0040.01122.96
8.2.160.0140.00020.38
8.2.150.0130.00724.18
8.2.140.0050.00324.66
8.2.130.0120.00626.16
8.2.120.0070.00020.86
8.2.110.0000.01020.39
8.2.100.0070.00717.75
8.2.90.0060.00319.22
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0050.00317.77
8.2.50.0040.00418.07
8.2.40.0050.00319.54
8.2.30.0000.00720.84
8.2.20.0000.00917.66
8.2.10.0020.00518.04
8.2.00.0080.00018.11
8.1.280.0100.00625.92
8.1.270.0080.00023.84
8.1.260.0140.00426.35
8.1.250.0090.00628.09
8.1.240.0030.00623.92
8.1.230.0040.00817.42
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.36
8.1.190.0000.00817.35
8.1.180.0030.00618.10
8.1.170.0040.00418.65
8.1.160.0000.00722.09
8.1.150.0030.00718.96
8.1.140.0000.00817.40
8.1.130.0000.00717.77
8.1.120.0070.00017.40
8.1.110.0000.00817.46
8.1.100.0070.00017.53
8.1.90.0000.00717.46
8.1.80.0030.00617.38
8.1.70.0030.00317.51
8.1.60.0000.00817.62
8.1.50.0040.00417.68
8.1.40.0040.00417.50
8.1.30.0050.00517.68
8.1.20.0030.00617.73
8.1.10.0050.00217.70
8.1.00.0080.00017.57
8.0.300.0070.00018.77
8.0.290.0000.00816.75
8.0.280.0000.00718.49
8.0.270.0030.00317.40
8.0.260.0030.00317.23
8.0.250.0040.00417.06
8.0.240.0050.00516.95
8.0.230.0030.00617.03
8.0.220.0040.00416.97
8.0.210.0040.00416.99
8.0.200.0040.00416.91
8.0.190.0030.00617.01
8.0.180.0040.00416.89
8.0.170.0040.00416.99
8.0.160.0040.00417.00
8.0.150.0000.00716.95
8.0.140.0000.00716.88
8.0.130.0000.00613.45
8.0.120.0000.00816.85
8.0.110.0000.00716.89
8.0.100.0040.00416.91
8.0.90.0040.00417.09
8.0.80.0040.01217.04
8.0.70.0050.00316.81
8.0.60.0040.00416.89
8.0.50.0000.00717.01
8.0.30.0120.01017.07
8.0.20.0130.00817.40
8.0.10.0000.00816.91
8.0.00.0110.00916.86
7.4.330.0000.00615.08
7.4.320.0040.00416.46
7.4.300.0060.00016.70
7.4.290.0070.00016.62
7.4.280.0070.00016.69
7.4.270.0000.00716.70
7.4.260.0030.00316.57
7.4.250.0040.00416.68
7.4.240.0000.00716.63
7.4.230.0040.00416.80
7.4.220.0100.00716.55
7.4.210.0070.01316.73
7.4.200.0050.00316.73
7.4.160.0100.00716.48
7.4.150.0100.00717.40
7.4.140.0110.00917.86
7.4.130.0110.00816.69
7.4.120.0090.00916.67
7.4.110.0110.01116.53
7.4.100.0070.01416.72
7.4.90.0130.00516.48
7.4.80.0080.01417.72
7.4.70.0110.01116.51
7.4.60.0150.00516.66
7.4.50.0100.00716.60
7.4.40.0090.00916.62
7.4.30.0100.00816.47
7.4.20.0100.01016.54
7.4.10.0130.00416.02
7.4.00.0080.00915.27
7.3.330.0050.00013.23
7.3.320.0000.00513.28
7.3.310.0000.00716.42
7.3.300.0040.00416.34
7.3.290.0060.00816.36
7.3.280.0080.00916.39
7.3.270.0080.01217.40
7.3.260.0090.00916.36
7.3.250.0100.00816.50
7.3.240.0180.00616.37
7.3.230.0080.01116.42
7.3.220.0180.00416.53
7.3.210.0150.00316.39
7.3.200.0100.01016.49
7.3.190.0110.01016.55
7.3.180.0120.00716.52
7.3.170.0150.00516.45
7.3.160.0060.01416.52
7.3.150.0150.00316.41
7.3.140.0090.00916.51
7.3.130.0060.01215.61
7.3.120.0080.00715.09
7.3.110.0070.01015.29
7.3.100.0060.01115.12
7.3.90.0080.00815.19
7.3.80.0100.00615.16
7.3.70.0040.01015.01
7.3.60.0070.00615.05
7.3.50.0090.00615.18
7.3.40.0070.00615.12
7.3.30.0070.00715.08
7.3.20.0070.00816.52
7.3.10.0080.00716.50
7.3.00.0060.00916.48
7.2.340.0220.00416.57
7.2.330.0130.00616.44
7.2.320.0140.00616.56
7.2.310.0100.01016.55
7.2.300.0110.01116.36
7.2.290.0120.00816.66
7.2.280.0080.01116.67
7.2.270.0090.00916.70
7.2.260.0080.01215.59
7.2.250.0110.00715.34
7.2.240.0070.01015.27
7.2.230.0080.01015.18
7.2.220.0060.01115.30
7.2.210.0060.01015.19
7.2.200.0080.00715.17
7.2.190.0070.01015.29
7.2.180.0070.00815.19
7.2.170.0080.00915.28
7.2.160.0110.00315.63
7.2.150.0090.01116.58
7.2.140.0080.01116.60
7.2.130.0060.00916.51
7.2.120.0040.01316.70
7.2.110.0040.01116.52
7.2.100.0050.01016.63
7.2.90.0080.00916.69
7.2.80.0060.01116.64
7.2.70.0070.00916.58
7.2.60.0070.00716.66
7.2.50.0080.00816.58
7.2.40.0040.01116.68
7.2.30.0050.01116.58
7.2.20.0070.00816.45
7.2.10.0130.00816.67
7.2.00.0100.00717.25
7.1.330.0100.00715.57
7.1.320.0100.00915.59
7.1.310.0120.00515.55
7.1.300.0220.00615.54
7.1.290.0070.00915.52
7.1.280.0120.00715.61
7.1.270.0080.00915.51
7.1.260.0090.00715.63
7.1.250.0120.00615.45
7.1.240.0180.00415.46
7.1.230.0110.01215.57
7.1.220.0110.00915.63
7.1.210.0280.00215.49
7.1.200.0080.00815.54
7.1.190.0190.00515.52
7.1.180.0170.00715.51
7.1.170.0160.00715.52
7.1.160.0120.01015.57
7.1.150.0100.01215.32
7.1.140.0150.00815.40
7.1.130.0120.00915.45
7.1.120.0150.00715.51
7.1.110.0200.00715.48
7.1.100.0170.00315.53
7.1.90.0090.01215.57
7.1.80.0110.00815.43
7.1.70.0100.00615.81
7.1.60.0090.00816.10
7.1.50.0090.01215.98
7.1.40.0160.00515.52
7.1.30.0140.00815.34
7.1.20.0120.01015.49
7.1.10.0140.01115.51
7.1.00.0090.03317.88
7.0.330.0170.00515.21
7.0.320.0140.00715.15
7.0.310.0100.00815.13
7.0.300.0120.00915.20
7.0.290.0140.00415.25
7.0.280.0160.00715.32
7.0.270.0130.00815.09
7.0.260.0140.01215.30
7.0.250.0140.00715.05
7.0.240.0120.00915.33
7.0.230.0110.00915.18
7.0.220.0120.00915.21
7.0.210.0140.00515.23
7.0.200.0100.00715.67
7.0.190.0120.01015.22
7.0.180.0140.00515.20
7.0.170.0110.01215.36
7.0.160.0110.01115.26
7.0.150.0160.00715.10
7.0.140.0130.00815.38
7.0.130.0170.00515.13
7.0.120.0120.00715.20
7.0.110.0090.01015.32
7.0.100.0160.00615.18
7.0.90.0280.00515.25
7.0.80.0130.00715.12
7.0.70.0210.00715.29
7.0.60.0140.01316.75
7.0.50.0140.02516.12
7.0.40.0080.02216.17
7.0.30.0160.03516.21
7.0.20.0220.02216.15
7.0.10.0110.03316.13
7.0.00.0110.03316.25
5.6.400.0140.01015.11
5.6.390.0130.01415.17
5.6.380.0120.00815.07
5.6.370.0100.01214.76
5.6.360.0170.00515.05
5.6.350.0130.00914.86
5.6.340.0120.01414.96
5.6.330.0110.00815.24
5.6.320.0170.00515.03
5.6.310.0140.00515.12
5.6.300.0090.01315.16
5.6.290.0130.01015.10
5.6.280.0100.01617.02
5.6.270.0180.00615.15
5.6.260.0140.00715.08
5.6.250.0120.01214.91
5.6.240.0180.00614.99
5.6.230.0120.00814.88
5.6.220.0190.00315.06
5.6.210.0080.03616.97
5.6.200.0120.02316.03
5.6.190.0110.01817.04
5.6.180.0160.02616.85
5.6.170.0180.03216.85
5.6.160.0140.02916.88
5.6.150.0120.03116.03
5.6.140.0100.02316.14
5.6.130.0080.02416.13
5.6.120.0140.02317.09
5.6.110.0130.03316.94
5.6.100.0130.02817.10
5.6.90.0090.03817.09
5.6.80.0150.02516.74
5.6.70.0140.00514.91
5.6.60.0150.00714.97
5.6.50.0150.00714.90
5.6.40.0110.01115.08
5.6.30.0150.00614.86
5.6.20.0160.00615.00
5.6.10.0150.00514.93
5.6.00.0110.01114.99
5.5.380.0110.01314.98
5.5.370.0120.01214.87
5.5.360.0160.00714.80
5.5.350.0070.03416.69
5.5.340.0100.03316.00
5.5.330.0110.02416.72
5.5.320.0180.02416.75
5.5.310.0150.02216.76
5.5.300.0120.01916.03
5.5.290.0130.03315.92
5.5.280.0100.02316.94
5.5.270.0110.02616.91
5.5.260.0150.01816.79
5.5.250.0220.02016.82
5.5.240.0110.02916.64
5.5.230.0130.00814.74
5.5.220.0140.00514.82
5.5.210.0110.00914.95
5.5.200.0150.00714.76
5.5.190.0110.01014.92
5.5.180.0140.00614.95
5.5.170.0180.01214.99
5.5.160.0130.00614.75
5.5.150.0150.00414.84
5.5.140.0140.00514.99
5.5.130.0140.00914.85
5.5.120.0130.01114.89
5.5.110.0080.01415.03
5.5.100.0140.00515.06
5.5.90.0070.01315.07
5.5.80.0130.00814.96
5.5.70.0130.00814.90
5.5.60.0140.00614.72
5.5.50.0060.01514.48
5.5.40.0090.01214.97
5.5.30.0120.00814.87
5.5.20.0120.01114.93
5.5.10.0120.00815.04
5.5.00.0120.00814.85
5.4.450.0110.02414.17
5.4.440.0130.02414.32
5.4.430.0110.02414.25
5.4.420.0120.02214.29
5.4.410.0130.02014.16
5.4.400.0100.02214.13
5.4.390.0100.02114.02
5.4.380.0170.01514.00
5.4.370.0100.02414.02
5.4.360.0080.02513.91
5.4.350.0110.02214.00
5.4.340.0100.02214.15
5.4.330.0130.00511.58
5.4.320.0090.02614.16
5.4.310.0110.02214.13
5.4.300.0110.02114.18
5.4.290.0110.02014.01
5.4.280.0080.02514.01
5.4.270.0140.02614.10
5.4.260.0090.02214.06
5.4.250.0110.02214.02
5.4.240.0150.01714.04
5.4.230.0100.02214.08
5.4.220.0060.02514.08
5.4.210.0110.02214.13
5.4.200.0110.02314.05
5.4.190.0070.02614.09
5.4.180.0120.02514.00
5.4.170.0130.02614.07
5.4.160.0130.01814.19
5.4.150.0140.02114.23
5.4.140.0130.02213.11
5.4.130.0090.02413.22
5.4.120.0130.02213.13
5.4.110.0150.02013.20
5.4.100.0110.02413.16
5.4.90.0130.01813.15
5.4.80.0150.01813.03
5.4.70.0130.03013.08
5.4.60.0120.02813.16
5.4.50.0080.01513.20
5.4.40.0140.01713.20
5.4.30.0160.02213.26
5.4.20.0150.02013.16
5.4.10.0050.00911.62
5.4.00.0100.00711.57

preferences:
38.03 ms | 401 KiB | 5 Q