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; private $wsdl; private $client; function __construct(){ $this->client_options = array('login' => 'SlevogtE', 'password' => 'BBDEXI', 'trace' => 1); $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.0080.00816.50
8.3.50.0120.00722.08
8.3.40.0110.00718.82
8.3.30.0090.00619.08
8.3.20.0080.00020.29
8.3.10.0050.00223.57
8.3.00.0000.00822.38
8.2.180.0160.00016.38
8.2.170.0090.00622.96
8.2.160.0060.01322.07
8.2.150.0030.00524.18
8.2.140.0060.00324.66
8.2.130.0030.01026.16
8.2.120.0000.00722.07
8.2.110.0030.00619.02
8.2.100.0080.00417.72
8.2.90.0040.00417.89
8.2.80.0000.00917.97
8.2.70.0030.00617.63
8.2.60.0000.00817.90
8.2.50.0050.00318.07
8.2.40.0030.00619.43
8.2.30.0000.00717.95
8.2.20.0000.00817.65
8.2.10.0050.00319.52
8.2.00.0030.00517.69
8.1.280.0110.00425.92
8.1.270.0060.00323.96
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0120.00022.18
8.1.230.0040.00820.97
8.1.220.0030.00517.74
8.1.210.0050.00318.88
8.1.200.0030.00617.23
8.1.190.0000.00817.23
8.1.180.0000.00918.10
8.1.170.0030.00518.49
8.1.160.0000.00822.02
8.1.150.0050.00318.58
8.1.140.0060.00317.45
8.1.130.0000.00717.70
8.1.120.0000.00717.44
8.1.110.0000.00817.24
8.1.100.0000.00717.28
8.1.90.0000.00717.40
8.1.80.0070.00017.43
8.1.70.0000.00817.37
8.1.60.0000.00817.59
8.1.50.0070.00317.35
8.1.40.0050.00317.46
8.1.30.0000.00917.54
8.1.20.0040.00417.50
8.1.10.0040.00417.53
8.1.00.0000.01117.50
8.0.300.0000.00719.88
8.0.290.0070.00016.63
8.0.280.0000.00718.42
8.0.270.0040.00417.22
8.0.260.0080.00016.77
8.0.250.0070.00016.90
8.0.240.0040.00416.94
8.0.230.0000.00717.00
8.0.220.0030.00416.93
8.0.210.0000.00717.02
8.0.200.0000.00717.06
8.0.190.0000.00816.89
8.0.180.0040.00417.03
8.0.170.0070.00016.99
8.0.160.0000.00817.05
8.0.150.0040.00416.88
8.0.140.0040.00416.82
8.0.130.0000.00613.40
8.0.120.0030.00616.94
8.0.110.0040.00416.97
8.0.100.0080.00016.98
8.0.90.0000.00816.86
8.0.80.0000.01616.88
8.0.70.0040.00316.92
8.0.60.0000.00716.85
8.0.50.0030.00616.86
8.0.30.0120.00717.05
8.0.20.0070.01217.40
8.0.10.0000.00716.88
8.0.00.0140.00616.79
7.4.330.0000.00515.14
7.4.320.0000.00616.54
7.4.300.0070.00016.39
7.4.290.0040.00416.52
7.4.280.0000.00716.55
7.4.270.0000.00716.38
7.4.260.0030.00316.39
7.4.250.0000.00716.32
7.4.240.0050.00216.48
7.4.230.0000.00716.44
7.4.220.0110.00716.39
7.4.210.0110.00416.47
7.4.200.0040.00416.29
7.4.190.0070.00016.46
7.4.160.0080.00816.37
7.4.150.0090.00917.40
7.4.140.0080.01017.86
7.4.130.0090.00916.44
7.4.120.0070.01216.44
7.4.110.0120.00416.36
7.4.100.0220.00916.64
7.4.90.0070.01016.52
7.4.80.0040.01216.46
7.4.70.0000.01616.45
7.4.60.0100.00716.63
7.4.50.0000.00816.30
7.4.40.0030.01422.77
7.4.30.0110.00916.54
7.4.00.0040.01215.09
7.3.330.0060.00013.16
7.3.320.0000.00513.34
7.3.310.0000.00716.21
7.3.300.0030.00316.36
7.3.290.0100.00316.29
7.3.280.0050.01216.31
7.3.270.0140.00317.40
7.3.260.0110.00616.54
7.3.250.0100.01316.48
7.3.240.0070.01416.41
7.3.230.0070.01016.39
7.3.210.0140.00316.54
7.3.200.0090.01319.39
7.3.190.0100.01016.28
7.3.180.0100.00616.48
7.3.170.0160.00016.28
7.3.160.0060.00916.48
7.3.120.0100.00314.91
7.3.10.0040.01116.40
7.3.00.0100.00316.55
7.2.330.0040.01416.34
7.2.320.0180.00716.43
7.2.310.0030.01416.46
7.2.300.0030.01616.66
7.2.290.0130.00916.68
7.2.130.0030.00716.46
7.2.120.0030.00716.44
7.2.110.0000.01016.64
7.2.100.0030.00716.75
7.2.90.0000.00916.62
7.2.80.0030.00716.84
7.2.70.0100.00316.54
7.2.60.0130.00316.84
7.2.50.0060.00616.71
7.2.40.0040.00416.65
7.2.30.0030.00716.88
7.2.20.0050.00516.84
7.2.10.0000.01016.87
7.2.00.0060.00817.90
7.1.250.0040.00815.57
7.1.100.0030.00617.78
7.1.70.0000.00716.72
7.1.60.0110.01519.29
7.1.50.0140.01016.86
7.1.00.0070.07022.41
7.0.200.0100.00716.68
7.0.140.0070.06722.01
7.0.60.0070.06319.96
7.0.50.0030.04018.00
7.0.40.0000.08020.24
7.0.30.0530.08020.19
7.0.20.0230.04720.08
7.0.10.0170.07320.21
7.0.00.0100.05320.09
5.6.280.0000.07721.17
5.6.210.0070.07720.63
5.6.200.0100.05318.19
5.6.190.0030.05720.57
5.6.180.0300.07020.55
5.6.170.0270.05320.48
5.6.160.0100.03720.46
5.6.150.0100.07318.18
5.6.140.0100.07018.19
5.6.130.0100.04018.23
5.6.120.0070.05321.00
5.6.110.0300.07020.97
5.6.100.0170.02720.98
5.6.90.0030.07721.03
5.6.80.0000.04320.55
5.5.350.0100.08320.40
5.5.340.0070.06317.96
5.5.330.0070.03720.25
5.5.320.0230.04320.42
5.5.310.0330.07720.34
5.5.300.0000.09018.02
5.5.290.0200.03717.96
5.5.280.0100.05320.70
5.5.270.0070.04020.68
5.5.260.0070.08320.80
5.5.250.0100.07320.79
5.5.240.0230.07720.27
5.4.450.0100.04719.20
5.4.440.0230.03719.32
5.4.430.0170.04019.56
5.4.420.0170.04319.46
5.4.410.0330.03019.33
5.4.400.0200.03719.27
5.4.390.0200.04019.14
5.4.380.0230.03319.15
5.4.370.0200.04718.95
5.4.360.0330.07019.09
5.4.350.0300.07018.85
5.4.340.0170.05319.07
5.4.320.0170.04318.95
5.4.310.0370.06019.06
5.4.300.0300.06719.13
5.4.290.0270.04719.15
5.4.280.0200.04319.00
5.4.270.0270.05018.94
5.4.260.0230.05019.31
5.4.250.0400.06719.19
5.4.240.0400.04718.94
5.4.230.0270.07319.16
5.4.220.0330.06019.00
5.4.210.0300.07019.23
5.4.200.0270.07319.18
5.4.190.0300.07719.18
5.4.180.0430.05718.84
5.4.170.0130.04718.84
5.4.160.0270.05018.98
5.4.150.0300.06318.83
5.4.140.0330.06316.46
5.4.130.0230.04716.35
5.4.120.0200.07016.66
5.4.110.0330.06016.54
5.4.100.0300.07016.29
5.4.90.0270.04016.20
5.4.80.0330.04316.44
5.4.70.0300.04016.50
5.4.60.0230.06716.27
5.4.50.0370.03716.55
5.4.40.0270.05316.16
5.4.30.0300.06716.25
5.4.20.0230.04016.48
5.4.10.0330.06016.42
5.4.00.0300.07015.86
5.3.290.0270.06314.73
5.3.280.0230.07714.54
5.3.270.0230.04014.60
5.3.260.0170.04014.84
5.3.250.0370.06314.54
5.3.240.0270.06314.52
5.3.230.0230.05714.73
5.3.220.0230.04714.64
5.3.210.0270.03714.50
5.3.200.0330.07014.70
5.3.190.0230.04314.66
5.3.180.0300.05714.49
5.3.170.0370.04014.57
5.3.160.0330.06714.65
5.3.150.0270.07014.55
5.3.140.0270.07314.69
5.3.130.0270.05014.47
5.3.120.0330.05314.68
5.3.110.0330.07014.72
5.3.100.0270.07314.21
5.3.90.0300.03314.15
5.3.80.0330.03314.08
5.3.70.0270.03713.96
5.3.60.0200.04714.24
5.3.50.0300.06714.06
5.3.40.0300.05314.09
5.3.30.0300.06313.84
5.3.20.0500.02013.64
5.3.10.0230.04713.75
5.3.00.0270.04313.59
5.2.170.0300.02712.50
5.2.160.0300.05312.50
5.2.150.0270.03312.50
5.2.140.0170.07012.50
5.2.130.0200.04312.50
5.2.120.0200.04012.50
5.2.110.0200.04312.50
5.2.100.0270.05012.50
5.2.90.0270.05312.50
5.2.80.0200.03712.50
5.2.70.0400.03312.50
5.2.60.0330.05012.50
5.2.50.0300.05312.50
5.2.40.0300.05012.50
5.2.30.0270.03712.50
5.2.20.0170.05712.50
5.2.10.0170.03712.50
5.2.00.0200.04012.50
5.1.60.0130.04312.50
5.1.50.0170.02712.50
5.1.40.0170.04312.50
5.1.30.0230.03712.50
5.1.20.0330.04712.50
5.1.10.0170.04712.50
5.1.00.0270.03012.50
5.0.50.0100.02312.50
5.0.40.0070.04312.50
5.0.30.0100.03712.50
5.0.20.0100.02012.50
5.0.10.0130.03012.50
5.0.00.0130.03312.50
4.4.90.0200.02712.50
4.4.80.0100.02012.50
4.4.70.0070.01712.50
4.4.60.0070.02012.50
4.4.50.0100.01712.50
4.4.40.0170.03712.50
4.4.30.0070.01712.50
4.4.20.0070.03012.50
4.4.10.0070.02012.50
4.4.00.0100.05012.50
4.3.110.0130.03012.50
4.3.100.0130.01012.50
4.3.90.0100.03312.50
4.3.80.0170.05012.50
4.3.70.0070.02712.50
4.3.60.0130.03312.50
4.3.50.0070.03712.50
4.3.40.0100.04312.50
4.3.30.0030.02312.50
4.3.20.0070.01712.50
4.3.10.0030.03712.50
4.3.00.0070.03012.50

preferences:
53.86 ms | 401 KiB | 5 Q