3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Create Security header $secns = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; $token = new stdClass; $token->Username = new SOAPVar('bugs_php_net_test', XSD_STRING, null, null, null, $secns); $token->Password = new SOAPVar('bugs_php_net_test', XSD_STRING, null, null, null, $secns); $wsec = new stdClass; $wsec->UsernameToken = new SoapVar($token, SOAP_ENC_OBJECT, null, null, null, $secns); $headers = new SOAPHeader($secns, 'Security', $wsec, true); // Go go go $client = new SoapClient("http://www.webservicex.net/periodictable.asmx?WSDL", array('exceptions' => true, 'trace' => 1)); $client->__setSOAPHeaders($headers); $client->GetAtomicNumber(array('ElementName' => 'Vanadium'));

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.70.0120.00416.50
8.3.60.0100.00616.63
8.3.50.0150.00321.22
8.3.40.0150.00018.61
8.3.30.0070.00718.84
8.3.20.0070.00020.16
8.3.10.0040.00421.73
8.3.00.0080.00020.34
8.2.180.0120.00318.54
8.2.170.0070.00722.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0090.00017.50
8.2.110.0030.00722.10
8.2.100.0060.00618.04
8.2.90.0040.00419.07
8.2.80.0080.00017.97
8.2.70.0060.00317.63
8.2.60.0000.00817.80
8.2.50.0060.00318.07
8.2.40.0060.00319.25
8.2.30.0040.00420.71
8.2.20.0000.00817.68
8.2.10.0040.00418.00
8.2.00.0040.00418.03
8.1.280.0120.00925.92
8.1.270.0070.00723.83
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00822.48
8.1.230.0090.00320.89
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0080.00017.35
8.1.190.0050.00317.10
8.1.180.0030.00618.10
8.1.170.0030.00918.45
8.1.160.0030.00521.95
8.1.150.0040.00718.90
8.1.140.0070.00317.37
8.1.130.0040.00417.66
8.1.120.0040.00417.43
8.1.110.0030.00517.46
8.1.100.0080.00017.46
8.1.90.0030.00417.43
8.1.80.0070.00317.38
8.1.70.0030.00317.38
8.1.60.0020.00517.57
8.1.50.0040.00417.58
8.1.40.0050.00217.57
8.1.30.0040.00417.68
8.1.20.0030.00617.54
8.1.10.0020.00517.57
8.1.00.0040.00417.53
8.0.300.0050.00318.77
8.0.290.0000.00716.75
8.0.280.0070.00018.32
8.0.270.0000.00717.29
8.0.260.0060.00017.23
8.0.250.0040.00416.87
8.0.240.0000.00716.84
8.0.230.0000.00817.00
8.0.220.0000.00916.88
8.0.210.0040.00416.96
8.0.200.0000.00916.89
8.0.190.0040.00417.04
8.0.180.0000.00816.96
8.0.170.0020.00516.98
8.0.160.0050.00317.05
8.0.150.0000.00816.86
8.0.140.0060.00316.91
8.0.130.0000.00613.25
8.0.120.0030.00516.87
8.0.110.0030.00516.87
8.0.100.0050.00316.89
8.0.90.0040.00416.78
8.0.80.0070.01416.84
8.0.70.0020.00516.98
8.0.60.0030.00616.94
8.0.50.0000.00816.97
8.0.30.0080.01316.87
8.0.20.0130.00817.40
8.0.10.0000.00717.05
8.0.00.0090.00816.71
7.4.330.0000.00615.08
7.4.320.0030.00316.56
7.4.300.0030.00316.55
7.4.290.0000.00916.46
7.4.280.0050.00216.65
7.4.270.0070.00016.57
7.4.260.0070.00016.58
7.4.250.0030.00516.43
7.4.240.0040.00316.45
7.4.230.0070.00016.69
7.4.220.0120.00616.66
7.4.210.0070.01316.57
7.4.200.0000.00716.34
7.4.160.0130.01016.73
7.4.150.0100.00617.40
7.4.140.0100.01017.86
7.4.130.0120.00616.54
7.4.120.0090.00716.45
7.4.110.0100.01316.56
7.4.100.0120.00616.71
7.4.90.0140.01016.52
7.4.80.0160.00019.39
7.4.70.0090.00816.68
7.4.60.0030.01316.43
7.4.50.0000.00816.62
7.4.40.0070.01016.47
7.4.30.0030.02016.70
7.4.00.0100.00314.90
7.3.330.0000.00613.02
7.3.320.0050.00013.16
7.3.310.0020.00516.14
7.3.300.0030.00316.26
7.3.290.0110.00316.26
7.3.280.0100.00716.29
7.3.270.0110.00717.40
7.3.260.0030.01416.26
7.3.250.0050.01116.36
7.3.240.0140.00716.23
7.3.230.0130.01016.51
7.3.210.0170.00016.43
7.3.200.0130.00316.24
7.3.190.0030.01616.49
7.3.180.0030.01216.46
7.3.170.0110.01116.38
7.3.160.0060.01216.27
7.2.330.0120.00616.57
7.2.320.0120.00616.32
7.2.310.0120.01216.75
7.2.300.0030.01416.57
7.2.290.0110.00716.64
7.2.60.0030.01216.59
7.2.00.0040.01119.29
7.1.200.0030.01015.72
7.1.100.0060.00817.93
7.1.70.0070.00316.89
7.1.60.0030.02019.29
7.1.50.0070.01416.54
7.1.00.0000.08022.36
7.0.200.0000.00816.77
7.0.60.0070.04319.93
7.0.50.0130.07317.81
7.0.40.0030.05720.20
7.0.30.0230.06320.17
7.0.20.0200.08320.33
7.0.10.0070.08720.21
7.0.00.0070.04020.01
5.6.280.0030.07321.00
5.6.210.0170.07020.54
5.6.200.0030.04318.09
5.6.190.0070.07720.67
5.6.180.0330.06320.60
5.6.170.0230.04320.41
5.6.160.0030.05320.44
5.6.150.0070.04718.11
5.6.140.0070.06018.21
5.6.130.0200.07018.15
5.6.120.0070.08321.10
5.6.110.0070.04020.98
5.6.100.0030.09321.11
5.6.90.0200.07020.98
5.6.80.0130.06720.53
5.5.350.0270.04720.54
5.5.340.0070.04318.02
5.5.330.0030.07320.40
5.5.320.0230.05720.36
5.5.310.0330.07720.20
5.5.300.0200.06717.89
5.5.290.0130.07017.88
5.5.280.0030.08320.98
5.5.270.0170.08020.96
5.5.260.0070.07020.96
5.5.250.0070.07320.79
5.5.240.0000.08720.28
5.4.450.0500.06719.54
5.4.440.0670.06319.62
5.4.430.0730.07719.23
5.4.420.0670.06319.63
5.4.410.0700.05019.32
5.4.400.0630.04719.16
5.4.390.0630.05318.94
5.4.380.0770.06719.14
5.4.370.0600.05319.21
5.4.360.0700.06319.14
5.4.350.0600.05319.07
5.4.340.0600.05319.09
5.4.320.0600.05319.30
5.4.310.0630.04719.30
5.4.300.0600.05019.30
5.4.290.0770.04719.29
5.4.280.0570.05319.29
5.4.270.0770.04019.18
5.4.260.0600.05019.07
5.4.250.0700.05018.77
5.4.240.0630.07318.93
5.4.230.0700.04319.18
5.4.220.0530.05718.98
5.4.210.0570.06019.07
5.4.200.0600.05319.29
5.4.190.0630.04318.93
5.4.180.0500.06318.79
5.4.170.0600.06019.23
5.4.160.0630.04718.79
5.4.150.0730.04018.88
5.4.140.0600.05016.50
5.4.130.0630.05016.23
5.4.120.0530.05016.35
5.4.110.0600.04716.46
5.4.100.0670.04016.55
5.4.90.0570.04716.50
5.4.80.0630.04016.44
5.4.70.0000.06016.32
5.4.60.0230.06716.28
5.4.50.0230.03016.38
5.4.40.0300.06316.04
5.4.30.0030.03316.45
5.4.20.0000.06316.45
5.4.10.0400.05016.45

preferences:
46.42 ms | 401 KiB | 5 Q