3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Pixel { public $orderDateTime; public $domain; public $publId; public $privId; } class PixelHandling extends SoapClient{ // Client connection private $client_options = array('login' => 'SlevogtE', 'password' => 'BBDEXI', 'trace' => 1); private $wsdl; private $client; function __construct(){ $this->wsdl = 'https://' . $client_options['login'] . ':' . $client_options['password'] . '@tom-test.vgwort.de/services/1.0/pixelService.wsdl' ; $this->client = new SoapClient($wsdl, $client_options); } // Order Pixel (amount) --> pixels will be written to array $pixels public function orderNewPixel($amount){ $params = new StdClass(); $params->count = $amount; $arr = array(); try{ $result = $this->client->orderPixel($params); foreach($result as $val){ $pixels = new Pixel(); $pixels->orderDateTime = $val->orderDateTime; $pixels->domain = $val->domain; $pixels->publId = $val->pixels->publicIdentificationId; $pixels->privId = $val->pixels->privateIdentificationId; array_push($arr, $pixels); } } catch(SoapFault $e){ echo "Fehlercode: ", $result->errorcode, "\n"; echo "Message: ", $result->errormsg, "\n"; echo "Folgende Anzahl waere moeglich gewesen: ", $result->maxOrder, "\n"; } return $arr; } } // Check whether Soap can be even used.. if(!class_exists('SoapClient')){ echo '<script type="text/javascript" language="Javascript">alert("Fehler: PHP-Modul fehlt.")</script>'; } $test = new PixelHandling(); $test->orderNewPixel(2); // Format für Pixel export // <IMG src="domain.met.vgwort.de/na/c5b7568d28884052a9ff92d5afd08f34" // height="1" width="1" border=“0“> ?>

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.0150.00016.63
8.3.50.0080.00722.06
8.3.40.0110.00418.72
8.3.30.0000.01419.06
8.3.20.0050.00320.37
8.3.10.0040.00423.53
8.3.00.0040.00422.42
8.2.180.0090.01316.38
8.2.170.0070.01122.96
8.2.160.0100.00322.11
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0070.01126.16
8.2.120.0070.00022.23
8.2.110.0030.00619.30
8.2.100.0070.00417.84
8.2.90.0050.00319.22
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0030.00518.16
8.2.30.0020.00517.93
8.2.20.0000.00717.76
8.2.10.0070.00017.62
8.2.00.0000.00817.66
8.1.280.0110.00425.92
8.1.270.0030.00523.97
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00621.36
8.1.230.0030.00917.42
8.1.220.0030.00617.77
8.1.210.0000.00818.77
8.1.200.0090.00017.22
8.1.190.0030.00617.23
8.1.180.0080.00018.10
8.1.170.0030.00618.56
8.1.160.0040.00421.99
8.1.150.0050.00218.57
8.1.140.0030.00617.30
8.1.130.0070.00017.68
8.1.120.0040.00417.28
8.1.110.0040.00417.43
8.1.100.0040.00417.38
8.1.90.0030.00517.27
8.1.80.0000.00717.44
8.1.70.0000.00717.33
8.1.60.0030.00517.53
8.1.50.0030.00617.42
8.1.40.0050.00217.51
8.1.30.0040.00417.45
8.1.20.0050.00217.60
8.1.10.0040.00417.42
8.1.00.0050.00217.41
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0030.00318.50
8.0.270.0030.00517.22
8.0.260.0030.00316.85
8.0.250.0070.00016.98
8.0.240.0000.00716.91
8.0.230.0040.00417.06
8.0.220.0050.00317.00
8.0.210.0030.00716.84
8.0.200.0000.00617.00
8.0.190.0050.00217.00
8.0.180.0040.00417.02
8.0.170.0050.00316.86
8.0.160.0080.00017.04
8.0.150.0000.00716.92
8.0.140.0000.00816.89
8.0.130.0030.00313.34
8.0.120.0080.00016.91
8.0.110.0000.00816.98
8.0.100.0030.00516.86
8.0.90.0070.00016.77
8.0.80.0060.01316.89
8.0.70.0070.00016.92
8.0.60.0000.00716.97
8.0.50.0040.00416.91
8.0.30.0130.00617.01
8.0.20.0140.00517.40
8.0.10.0040.00416.88
8.0.00.0160.00616.71
7.4.330.0020.00215.00
7.4.320.0000.00616.43
7.4.300.0060.00016.38
7.4.290.0070.00016.36
7.4.280.0000.00716.43
7.4.270.0070.00016.52
7.4.260.0000.00716.50
7.4.250.0000.00816.54
7.4.240.0030.00516.46
7.4.230.0000.00716.54
7.4.220.0090.01216.51
7.4.210.0070.00816.46
7.4.200.0030.00316.44
7.4.190.0040.00316.71
7.4.160.0080.00816.41
7.4.150.0150.00317.40
7.4.140.0090.00817.86
7.4.130.0080.01216.45
7.4.120.0100.00816.52
7.4.110.0100.00716.51
7.4.100.0160.00616.46
7.4.90.0080.01116.45
7.4.80.0120.01216.59
7.4.70.0070.01016.70
7.4.60.0100.00716.48
7.4.50.0000.00716.44
7.4.40.0060.00622.77
7.4.30.0110.00616.61
7.4.10.0100.00815.09
7.4.00.0050.01015.01
7.3.330.0000.00513.24
7.3.320.0000.00613.12
7.3.310.0070.00016.32
7.3.300.0040.00416.23
7.3.290.0090.00616.25
7.3.280.0110.01116.30
7.3.270.0100.00717.40
7.3.260.0070.01016.59
7.3.250.0120.00816.35
7.3.240.0060.01216.36
7.3.230.0100.00616.39
7.3.210.0130.01016.39
7.3.200.0130.01019.39
7.3.190.0100.00716.39
7.3.180.0070.00716.48
7.3.170.0090.00916.59
7.3.160.0100.01316.42
7.3.130.0030.01414.86
7.3.120.0060.00814.79
7.3.110.0100.00814.78
7.3.100.0080.00714.98
7.3.90.0090.00714.76
7.3.80.0100.00714.60
7.3.70.0080.00514.79
7.3.60.0020.01414.59
7.3.50.0050.01014.77
7.3.40.0030.01114.80
7.3.30.0120.00314.84
7.3.20.0090.00416.64
7.3.10.0060.00816.62
7.3.00.0060.00816.58
7.2.330.0060.01016.21
7.2.320.0150.00616.59
7.2.310.0000.01916.67
7.2.300.0070.01016.42
7.2.290.0000.01716.29
7.2.260.0060.01015.13
7.2.250.0110.00714.87
7.2.240.0090.00914.87
7.2.230.0080.00714.61
7.2.220.0050.01114.54
7.2.210.0040.00914.70
7.2.200.0060.00914.90
7.2.190.0080.00814.63
7.2.180.0040.00714.80
7.2.170.0100.00514.83
7.2.160.0050.01014.78
7.2.150.0060.00516.72
7.2.140.0080.00616.72
7.2.130.0040.00816.71
7.2.120.0040.01016.72
7.2.110.0020.01116.63
7.2.100.0050.00616.78
7.2.90.0080.00816.69
7.2.80.0060.00716.77
7.2.70.0070.00716.81
7.2.60.0040.01016.76
7.2.50.0050.01016.72
7.2.40.0030.01016.72
7.2.30.0070.00816.74
7.2.20.0100.00516.74
7.2.10.0070.00716.75
7.2.00.0030.01117.19
7.1.330.0100.00615.62
7.1.320.0030.01215.63
7.1.310.0030.01115.59
7.1.300.0080.00615.65
7.1.290.0030.01215.50
7.1.280.0080.00515.32
7.1.270.0050.00615.62
7.1.260.0050.00815.56
7.1.250.0060.00615.50
7.1.240.0030.00715.64
7.1.230.0060.00515.66
7.1.220.0070.00515.68
7.1.210.0090.00815.61
7.1.200.0030.00915.37
7.1.190.0060.00615.65
7.1.180.0000.01615.68
7.1.170.0040.00715.45
7.1.160.0030.00715.67
7.1.150.0050.00915.52
7.1.140.0090.00715.58
7.1.130.0040.01015.55
7.1.120.0040.00915.45
7.1.110.0060.00715.34
7.1.100.0040.00816.40
7.1.90.0110.00415.72
7.1.80.0070.00615.64
7.1.70.0050.00416.11
7.1.60.0090.00716.08
7.1.50.0060.00716.00
7.1.40.0030.00815.26
7.1.30.0060.00815.54
7.1.20.0070.00715.43
7.1.10.0070.00715.66
7.1.00.0060.03017.77
7.0.330.0040.00515.07
7.0.320.0050.00815.20
7.0.310.0090.00315.27
7.0.300.0050.01115.24
7.0.290.0060.00715.17
7.0.280.0060.00815.33
7.0.270.0030.00815.37
7.0.260.0020.01015.11
7.0.250.0100.00315.42
7.0.240.0080.00615.01
7.0.230.0030.00815.32
7.0.220.0000.01015.31
7.0.210.0030.00915.38
7.0.200.0110.00415.73
7.0.190.0000.01115.30
7.0.180.0050.01015.27
7.0.170.0100.00415.23
7.0.160.0040.00415.27
7.0.150.0050.00515.13
7.0.140.0040.02717.44
7.0.130.0070.00815.25
7.0.120.0030.00915.43
7.0.110.0040.03216.78
7.0.100.0060.03116.93
7.0.90.0080.02816.91
7.0.80.0110.02416.84
7.0.70.0080.01216.88
7.0.60.0030.03316.74
7.0.50.0090.03016.99
7.0.40.0050.03215.41
7.0.30.0060.03215.47
7.0.20.0030.03015.50
7.0.10.0110.02915.46
7.0.00.0090.01915.42
5.6.400.0030.01114.17
5.6.390.0010.01214.25
5.6.380.0070.00714.29
5.6.370.0030.01114.14
5.6.360.0050.01114.33
5.6.350.0080.00614.02
5.6.340.0030.01414.10
5.6.330.0070.00414.36
5.6.320.0080.00514.19
5.6.310.0040.01214.07
5.6.300.0070.00614.10
5.6.290.0050.00614.38
5.6.280.0030.00914.19
5.6.270.0050.00814.33
5.6.260.0050.03316.42
5.6.250.0080.03116.27
5.6.240.0080.03416.29
5.6.230.0050.03116.38
5.6.220.0090.03116.42
5.6.210.0090.02716.38
5.6.200.0040.03416.33
5.6.190.0060.03516.24
5.6.180.0080.03216.34
5.6.170.0070.03016.34
5.6.160.0100.02516.34
5.6.150.0120.02816.44
5.6.140.0040.03616.32
5.6.130.0080.03116.33
5.6.120.0030.03516.32
5.6.110.0090.02816.33
5.6.100.0040.03616.11
5.6.90.0090.02916.19
5.6.80.0070.02916.11
5.6.70.0060.03316.08
5.6.60.0070.03216.05
5.6.50.0070.03016.18
5.6.40.0070.03015.99
5.6.30.0070.02916.12
5.6.20.0040.02116.05
5.6.10.0060.02615.95
5.6.00.0100.02416.09
5.5.380.0070.03615.30
5.5.370.0030.03115.11
5.5.360.0030.03615.12
5.5.350.0090.02715.31
5.5.340.0080.03115.28
5.5.330.0030.02615.62
5.5.320.0090.02815.32
5.5.310.0060.02215.37
5.5.300.0080.02615.39
5.5.290.0060.03315.33
5.5.280.0060.03515.58
5.5.270.0040.03315.40
5.5.260.0060.03415.19
5.5.250.0080.02915.08
5.5.240.0070.02815.06
5.5.230.0050.03215.29
5.5.220.0090.02515.04
5.5.210.0080.02115.15
5.5.200.0060.03015.20
5.5.190.0090.03015.05
5.5.180.0070.03215.19
5.5.170.0080.00513.89
5.5.160.0060.03015.05
5.5.150.0090.02615.17
5.5.140.0080.02515.06
5.5.130.0090.02714.97
5.5.120.0060.02915.24
5.5.110.0060.03015.12
5.5.100.0070.02915.12
5.5.90.0070.02815.17
5.5.80.0090.02715.16
5.5.70.0070.02814.90
5.5.60.0050.03215.04
5.5.50.0080.03015.20
5.5.40.0040.02814.98
5.5.30.0050.03015.13
5.5.20.0010.03415.04
5.5.10.0110.02215.16
5.5.00.0060.02514.88
5.4.450.0030.02314.33
5.4.440.0060.02314.32
5.4.430.0060.02914.30
5.4.420.0050.03114.25
5.4.410.0030.03014.21
5.4.400.0080.02514.12
5.4.390.0070.02914.14
5.4.380.0060.02914.14
5.4.370.0090.02514.13
5.4.360.0060.03014.14
5.4.350.0050.02614.17
5.4.340.0010.03214.21
5.4.330.0050.00511.71
5.4.320.0020.02514.26
5.4.310.0070.02414.12
5.4.300.0030.03114.25
5.4.290.0030.02914.18
5.4.280.0070.02814.24
5.4.270.0080.02814.17
5.4.260.0060.03014.20
5.4.250.0040.03014.12
5.4.240.0030.03114.12
5.4.230.0050.03014.14
5.4.220.0080.02514.14
5.4.210.0080.02814.25
5.4.200.0100.02214.14
5.4.190.0030.02614.24
5.4.180.0030.03014.22
5.4.170.0050.01714.24
5.4.160.0080.02614.19
5.4.150.0040.02814.16
5.4.140.0030.01913.31
5.4.130.0060.02613.30
5.4.120.0040.02613.25
5.4.110.0060.02813.33
5.4.100.0020.03013.28
5.4.90.0040.02513.33
5.4.80.0030.02813.32
5.4.70.0050.02413.28
5.4.60.0050.01713.28
5.4.50.0060.02713.32
5.4.40.0070.02513.34
5.4.30.0070.02813.29
5.4.20.0070.02713.22
5.4.10.0040.02713.32
5.4.00.0050.02713.13
5.3.290.0030.02912.70
5.3.280.0070.02512.71
5.3.270.0090.02612.68
5.3.260.0050.01912.72
5.3.250.0050.02312.68
5.3.240.0040.02112.76
5.3.230.0040.02812.63
5.3.220.0040.02712.67
5.3.210.0040.01812.70
5.3.200.0030.03012.67
5.3.190.0070.02812.69
5.3.180.0080.02812.67
5.3.170.0040.03012.66
5.3.160.0040.01912.65
5.3.150.0030.02912.69
5.3.140.0070.02812.69
5.3.130.0030.02912.67
5.3.120.0070.02712.70
5.3.110.0090.02312.69
5.3.100.0040.02812.49
5.3.90.0030.02712.49
5.3.80.0050.02712.49
5.3.70.0090.02412.49
5.3.60.0030.02012.52
5.3.50.0060.02312.48
5.3.40.0090.02412.45
5.3.30.0080.02512.45
5.3.20.0050.02612.38
5.3.10.0060.02712.39
5.3.00.0030.02712.37
5.2.170.0130.05311.31
5.2.160.0000.05311.31
5.2.150.0070.06011.39
5.2.140.0070.06711.39
5.2.130.0070.06011.31
5.2.120.0030.06011.31
5.2.110.0030.06311.31
5.2.100.0070.06011.31
5.2.90.0200.04711.31
5.2.80.0030.06011.34
5.2.70.0000.06311.31
5.2.60.0030.03711.31
5.2.50.0030.06311.31
5.2.40.0030.06011.31
5.2.30.0030.06311.31
5.2.20.0100.05711.31
5.2.10.0030.03311.31
5.2.00.0000.06711.31
5.1.60.0130.04311.31
5.1.50.0030.04711.31
5.1.40.0100.03711.31
5.1.30.0000.06011.31
5.1.20.0130.04711.31
5.1.10.0000.04711.31
5.1.00.0070.05711.31
5.0.50.0030.04011.31
5.0.40.0070.03311.31
5.0.30.0000.07011.31
5.0.20.0070.04011.31
5.0.10.0000.05011.31
5.0.00.0000.06011.31
4.4.90.0030.02711.31
4.4.80.0000.03711.31
4.4.70.0030.02011.31
4.4.60.0030.03311.31
4.4.50.0000.03711.31
4.4.40.0000.05011.31
4.4.30.0100.02711.31
4.4.20.0000.03711.31
4.4.10.0070.03011.31
4.4.00.0030.04711.31
4.3.110.0070.02711.31
4.3.100.0030.03311.31
4.3.90.0070.02011.31
4.3.80.0030.04711.31
4.3.70.0000.03711.31
4.3.60.0000.03311.31
4.3.50.0030.03311.31
4.3.40.0030.03711.31
4.3.30.0030.04311.31
4.3.20.0000.02311.31
4.3.10.0000.03311.31
4.3.00.0030.01711.31

preferences:
49.51 ms | 401 KiB | 5 Q