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://' . $clientopts['login'] . ':' . $clientopts['password'] . '@tom-test.vgwort.de/services/1.0/pixelService.wsdl' ; $this->client = new SoapClient($wsdl, $clientopts); } // 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.73
8.3.50.0160.00421.95
8.3.40.0070.00718.79
8.3.30.0110.00318.81
8.3.20.0040.00420.20
8.3.10.0090.00023.78
8.3.00.0080.00022.43
8.2.180.0210.00016.63
8.2.170.0110.00422.96
8.2.160.0130.00722.25
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0030.01026.16
8.2.120.0060.00322.26
8.2.110.0070.00319.31
8.2.100.0080.00419.02
8.2.90.0000.00919.22
8.2.80.0040.00418.03
8.2.70.0000.00917.72
8.2.60.0060.00317.93
8.2.50.0080.00318.07
8.2.40.0050.00319.37
8.2.30.0040.00417.99
8.2.20.0040.00417.73
8.2.10.0040.00417.82
8.2.00.0060.00317.71
8.1.280.0110.00425.92
8.1.270.0060.00323.97
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00019.15
8.1.230.0070.00421.04
8.1.220.0070.00317.79
8.1.210.0000.00818.77
8.1.200.0000.01017.35
8.1.190.0050.00517.42
8.1.180.0040.00418.10
8.1.170.0060.00318.43
8.1.160.0060.00321.95
8.1.150.0040.00418.59
8.1.140.0000.00717.27
8.1.130.0000.00817.82
8.1.120.0040.00417.43
8.1.110.0000.00817.36
8.1.100.0000.00717.30
8.1.90.0000.00717.35
8.1.80.0070.00017.30
8.1.70.0000.00717.30
8.1.60.0000.00717.52
8.1.50.0000.00817.47
8.1.40.0070.00317.39
8.1.30.0050.00317.48
8.1.20.0060.00317.50
8.1.10.0000.00817.40
8.1.00.0030.00617.45
8.0.300.0070.00018.77
8.0.290.0040.00417.18
8.0.280.0050.00218.32
8.0.270.0030.00317.25
8.0.260.0030.00316.81
8.0.250.0030.00317.04
8.0.240.0030.00516.95
8.0.230.0080.00016.95
8.0.220.0030.00316.95
8.0.210.0000.00816.96
8.0.200.0070.00016.91
8.0.190.0030.00616.98
8.0.180.0040.00417.02
8.0.170.0050.00316.90
8.0.160.0050.00316.91
8.0.150.0050.00316.96
8.0.140.0050.00216.82
8.0.130.0060.00013.43
8.0.120.0000.00716.97
8.0.110.0000.00716.97
8.0.100.0070.00016.96
8.0.90.0070.00016.98
8.0.80.0090.00617.00
8.0.70.0030.00516.91
8.0.60.0000.00716.85
8.0.50.0030.00616.86
8.0.30.0100.00817.01
8.0.20.0150.01017.40
8.0.10.0070.00016.84
8.0.00.0080.01116.84
7.4.330.0050.00015.13
7.4.320.0060.00016.38
7.4.300.0030.00316.50
7.4.290.0030.00316.45
7.4.280.0030.00316.54
7.4.270.0000.00716.56
7.4.260.0050.00316.54
7.4.250.0000.00716.41
7.4.240.0050.00216.38
7.4.230.0000.00716.38
7.4.220.0040.01216.60
7.4.210.0100.00616.49
7.4.200.0040.00416.54
7.4.190.0000.00716.64
7.4.160.0040.01116.38
7.4.150.0070.01717.40
7.4.140.0140.00817.86
7.4.130.0090.00816.43
7.4.120.0050.01216.52
7.4.110.0030.01316.62
7.4.100.0110.00716.55
7.4.90.0130.00916.74
7.4.80.0110.00816.43
7.4.70.0090.00616.42
7.4.60.0130.00316.54
7.4.50.0000.00716.34
7.4.40.0090.00622.77
7.4.30.0040.01216.59
7.4.00.0060.00614.84
7.3.330.0030.00313.26
7.3.320.0000.00613.34
7.3.310.0000.00816.13
7.3.300.0000.00716.38
7.3.290.0080.01316.31
7.3.280.0080.00816.28
7.3.270.0040.01617.40
7.3.260.0130.00916.64
7.3.250.0110.00916.39
7.3.240.0060.00916.44
7.3.230.0100.00716.45
7.3.210.0060.01416.55
7.3.200.0100.01319.39
7.3.190.0050.00516.44
7.3.180.0040.01216.25
7.3.170.0130.00316.42
7.3.160.0100.00616.41
7.3.120.0030.01415.07
7.3.110.0130.00314.66
7.3.100.0000.01314.58
7.3.90.0030.01314.87
7.3.80.0070.00714.82
7.3.70.0090.00614.99
7.3.60.0000.00814.68
7.3.50.0030.01014.56
7.3.40.0070.00714.72
7.3.30.0040.01114.80
7.3.20.0080.00316.83
7.3.10.0090.00616.61
7.3.00.0090.00616.55
7.2.330.0130.00616.54
7.2.320.0040.01516.69
7.2.310.0030.01416.48
7.2.300.0120.01316.30
7.2.290.0080.00816.24
7.2.240.0030.01015.04
7.2.230.0070.00714.62
7.2.220.0030.00714.86
7.2.210.0040.00815.13
7.2.200.0100.00314.72
7.2.190.0070.01015.07
7.2.180.0000.00914.73
7.2.170.0030.01314.93
7.2.160.0030.00615.02
7.2.150.0090.00616.49
7.2.140.0000.01016.80
7.2.130.0110.00416.62
7.2.120.0060.00916.69
7.2.110.0050.00916.50
7.2.100.0070.00616.72
7.2.90.0080.00616.71
7.2.80.0020.01016.63
7.2.70.0030.01016.83
7.2.60.0060.00816.77
7.2.50.0060.00716.90
7.2.40.0030.01116.61
7.2.30.0020.01116.84
7.2.20.0050.00716.84
7.2.10.0040.01016.62
7.2.00.0040.01017.48
7.1.330.0100.00315.65
7.1.320.0030.01015.62
7.1.310.0030.01015.82
7.1.300.0070.01015.43
7.1.290.0060.00615.46
7.1.280.0000.01615.52
7.1.270.0030.01015.61
7.1.260.0060.00615.29
7.1.250.0050.00415.61
7.1.240.0110.00015.60
7.1.230.0040.00715.74
7.1.220.0070.00315.63
7.1.210.0080.00015.66
7.1.200.0050.00815.58
7.1.190.0030.00515.58
7.1.180.0040.00715.33
7.1.170.0040.01115.24
7.1.160.0080.00415.47
7.1.150.0060.00315.32
7.1.140.0030.01215.62
7.1.130.0030.00715.77
7.1.120.0000.00815.65
7.1.110.0110.00315.65
7.1.100.0060.00616.82
7.1.90.0030.00515.54
7.1.80.0040.00715.45
7.1.70.0030.00616.22
7.1.60.0070.01017.26
7.1.50.0120.00716.07
7.1.40.0040.00415.84
7.1.30.0000.01015.40
7.1.20.0080.00015.72
7.1.10.0040.00415.67
7.1.00.0100.03319.00
7.0.330.0000.01415.14
7.0.320.0060.00915.27
7.0.310.0060.00615.00
7.0.300.0000.00815.43
7.0.290.0040.00415.36
7.0.280.0110.00015.35
7.0.270.0070.00315.39
7.0.260.0110.00015.09
7.0.250.0030.00615.45
7.0.240.0050.00515.32
7.0.230.0090.00415.41
7.0.220.0050.00514.97
7.0.210.0060.00615.55
7.0.200.0090.00515.90
7.0.190.0060.00615.25
7.0.180.0060.00615.02
7.0.170.0040.00715.27
7.0.160.0070.00715.38
7.0.150.0030.01215.34
7.0.140.0020.04218.57
7.0.130.0080.00315.47
7.0.120.0000.00915.39
7.0.110.0040.00815.22
7.0.100.0000.01115.17
7.0.90.0030.00715.09
7.0.80.0030.00714.89
7.0.70.0070.00715.28
7.0.60.0110.01818.44
7.0.50.0030.02516.54
7.0.40.0130.03916.68
7.0.30.0100.04016.70
7.0.20.0150.04216.65
7.0.10.0020.02916.66
7.0.00.0050.02816.68
5.6.380.0140.00013.87
5.6.370.0000.01514.30
5.6.360.0100.00314.32
5.6.350.0040.01114.05
5.6.340.0030.01013.69
5.6.330.0030.01014.43
5.6.320.0000.01114.15
5.6.310.0000.01114.18
5.6.300.0090.00314.25
5.6.290.0040.00713.82
5.6.280.0050.04017.59
5.6.270.0040.00714.06
5.6.260.0050.00514.22
5.6.250.0030.01013.96
5.6.240.0040.00714.05
5.6.230.0040.01113.71
5.6.220.0060.00614.15
5.6.210.0110.03417.30
5.6.200.0060.04116.09
5.6.190.0030.02517.35
5.6.180.0230.03517.22
5.6.170.0150.04317.32
5.6.160.0080.03817.30
5.6.150.0090.03016.14
5.6.140.0040.03616.29
5.6.130.0050.03216.12
5.6.120.0120.04317.77
5.6.110.0020.02817.69
5.6.100.0060.04117.55
5.6.90.0020.03417.62
5.6.80.0100.04417.17
5.6.70.0070.00714.11
5.6.60.0060.00614.17
5.6.50.0070.00413.80
5.6.40.0000.01013.91
5.6.30.0040.00814.15
5.6.20.0040.01113.90
5.6.10.0030.00614.16
5.6.00.0000.01114.00
5.5.380.0040.00411.07
5.5.370.0070.00710.94
5.5.360.0030.00610.90
5.5.350.0140.02015.61
5.5.340.0020.04714.49
5.5.330.0050.02715.56
5.5.320.0230.03315.63
5.5.310.0080.03215.57
5.5.300.0030.04014.43
5.5.290.0060.03414.58
5.5.280.0050.03716.02
5.5.270.0070.02015.79
5.5.260.0030.03815.88
5.5.250.0030.03415.69
5.5.240.0100.04215.56
5.5.230.0070.00310.90
5.5.220.0070.00010.90
5.5.210.0040.00411.02
5.5.200.0060.00310.95
5.5.190.0040.00410.90
5.5.180.0030.00510.99
5.5.170.0030.00910.90
5.5.160.0060.00310.90
5.5.150.0070.00011.14
5.5.140.0000.01110.90
5.5.130.0060.00010.90
5.5.120.0030.00610.90
5.5.110.0090.00311.09
5.5.100.0000.01210.90
5.5.90.0070.00010.97
5.5.80.0030.00610.96
5.5.70.0040.00410.90
5.5.60.0040.00410.90
5.5.50.0030.00310.91
5.5.40.0000.01010.90
5.5.30.0090.00010.90
5.5.20.0000.00910.98
5.5.10.0000.01210.93
5.5.00.0060.00610.90
5.4.450.0100.02015.11
5.4.440.0050.02315.13
5.4.430.0630.02615.26
5.4.420.1570.02315.08
5.4.410.1680.01515.18
5.4.400.2100.02215.03
5.4.390.0020.02614.93
5.4.380.0030.02015.03
5.4.370.1920.02415.06
5.4.360.1970.01715.04
5.4.350.2030.01815.01
5.4.340.2030.02515.00
5.4.330.0030.00510.99
5.4.320.2090.02014.97
5.4.310.2100.01815.02
5.4.300.2030.01614.97
5.4.290.1670.02414.98
5.4.280.2020.02314.91
5.4.270.2070.02315.02
5.4.260.2020.01814.97
5.4.250.1900.02215.03
5.4.240.1860.02215.03
5.4.230.1940.02415.02
5.4.220.1930.01815.01
5.4.210.1940.01715.05
5.4.200.1950.01614.92
5.4.190.1920.02915.07
5.4.180.2170.02014.98
5.4.170.2110.01914.98
5.4.160.1910.01715.04
5.4.150.2030.02014.97
5.4.140.2020.02313.67
5.4.130.1940.01913.68
5.4.120.1930.02013.68
5.4.110.2060.02113.59
5.4.100.2290.02013.62
5.4.90.1970.02313.62
5.4.80.2030.02313.70
5.4.70.2250.01813.57
5.4.60.1880.02113.71
5.4.50.2050.02113.69
5.4.40.2050.02013.75
5.4.30.2050.01813.60
5.4.20.2100.01613.66
5.4.10.2250.02213.58
5.4.00.2300.01513.42
5.3.290.2020.02012.87
5.3.280.1930.01512.76
5.3.270.2260.02012.71
5.3.260.1970.01612.78
5.3.250.1970.01712.78
5.3.240.2040.02112.83
5.3.230.1970.02312.71
5.3.220.2020.02012.74
5.3.210.2080.01812.78
5.3.200.2200.02212.76
5.3.190.1750.02312.75
5.3.180.1880.02012.76
5.3.170.1940.02012.76
5.3.160.1750.02412.76
5.3.150.2050.02212.74
5.3.140.2120.01812.76
5.3.130.1900.02212.75
5.3.120.2030.02412.73
5.3.110.2080.02012.74
5.3.100.2070.02312.49
5.3.90.2050.01712.49
5.3.80.2080.02012.47
5.3.70.1980.01412.47
5.3.60.2080.01712.44
5.3.50.2020.02412.46
5.3.40.1990.02012.43
5.3.30.1570.01312.36
5.3.20.1470.02012.29
5.3.10.1810.01912.30
5.3.00.1720.01912.30
5.2.170.1680.02111.11
5.2.160.1670.01711.06
5.2.150.1250.01811.07
5.2.140.0900.01711.01
5.2.130.1010.01511.02
5.2.120.1150.01911.06
5.2.110.1600.01911.04
5.2.100.1620.01511.01
5.2.90.1360.01811.01
5.2.80.1130.01610.96
5.2.70.1330.01810.95
5.2.60.1400.01411.07
5.2.50.1450.01811.00
5.2.40.0950.01910.95
5.2.30.0950.01510.95
5.2.20.0840.01510.94
5.2.10.0960.01510.92
5.2.00.1330.01710.80
5.1.60.1300.01510.49
5.1.50.1450.01210.46
5.1.40.1400.01310.41
5.1.30.1630.01410.63
5.1.20.1330.01710.63
5.1.10.1100.01710.49
5.1.00.1480.01410.53
5.0.50.0660.0099.77
5.0.40.0000.0229.59
5.0.30.0020.0209.53
5.0.20.0020.0139.57
5.0.10.0060.0129.54
5.0.00.0030.0359.55
4.4.90.0680.0078.38
4.4.80.0550.0088.37
4.4.70.0570.0118.38
4.4.60.0630.0118.39
4.4.50.0450.0098.39
4.4.40.0630.0148.36
4.4.30.0630.0108.33
4.4.20.0780.0128.44
4.4.10.0750.0108.43
4.4.00.0560.0168.36
4.3.110.0030.0098.34
4.3.100.0000.0108.33
4.3.90.0040.0158.33
4.3.80.0020.0208.30
4.3.70.0000.0108.31
4.3.60.0480.0098.35
4.3.50.0720.0138.32
4.3.40.0770.0168.27
4.3.30.0330.0077.73
4.3.20.0400.0087.73
4.3.10.0430.0127.73
4.3.00.0430.0127.73

preferences:
47.84 ms | 400 KiB | 5 Q