3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* * Cash Register Remote API implementation for MyPos * Copyright (C) 2022 Lelyfoto / Michael Erkens * * For the full copyright and license information, please view the LICENSE */ declare(strict_types=1); namespace Lelyfoto\MyPos\CashRegisterRemote; class Config { public const API_VERSION = '3.0'; public const MYPOS_WSDL_PRODUCTION = 'https://crr-api.mypos.com/?wsdl'; public const MYPOS_WSDL_TEST = 'http://185.161.235.90:34206/infromhttp'; public function __construct( private readonly string $login, private readonly int $keyIndex, private readonly string $currency, private readonly string $tid, private readonly string $privateKey, private readonly string $myPosPublicCertificate, private readonly string $myPosWsdl = self::MYPOS_WSDL_PRODUCTION ) { } public function getLogin(): string { return $this->login; } public function getKeyIndex(): int { return $this->keyIndex; } public function getCurrency(): string { return $this->currency; } public function getTid(): string { return $this->tid; } public function getPrivateKey(): string { return $this->privateKey; } public function getMyPosPublicCertificate(): string { return $this->myPosPublicCertificate; } public function getMyPosWsdl(): string { return $this->myPosWsdl; } }

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.4.120.0140.00720.68
8.4.110.0120.00818.60
8.4.100.0150.00617.86
8.4.90.0130.00819.39
8.4.80.0060.00217.45
8.4.70.0160.00417.58
8.4.60.0080.01019.94
8.4.50.0100.00217.47
8.4.40.0090.00919.07
8.4.30.0120.00620.78
8.4.20.0100.01019.79
8.4.10.0030.00623.48
8.3.250.0100.00917.05
8.3.240.0140.00516.51
8.3.230.0110.00916.54
8.3.220.0060.00617.16
8.3.210.0120.00716.56
8.3.200.0080.00816.53
8.3.190.0100.00816.86
8.3.180.0110.00718.13
8.3.170.0040.00418.67
8.3.160.0180.00018.19
8.3.150.0070.01418.75
8.3.140.0040.00416.40
8.3.130.0030.00716.65
8.3.120.0090.00020.68
8.3.110.0040.00422.58
8.3.100.0040.00422.58
8.3.50.0040.00422.58
8.2.290.0120.00318.93
8.2.280.0040.00419.83
8.2.270.0150.00320.32
8.2.260.0120.00620.45
8.2.250.0140.00416.48
8.2.240.0000.00917.05
8.2.230.0050.00322.58
8.2.220.0040.00422.58
8.2.20.0060.00618.77
8.2.10.0140.00418.77
8.2.00.0120.00618.70
8.1.330.0070.01116.18
8.1.320.0090.01016.23
8.1.310.0140.00318.36
8.1.300.0040.00416.73
8.1.150.0030.00618.81
8.1.140.0140.00718.54
8.1.130.0200.00018.52
8.1.120.0130.00518.55
8.1.110.0100.01018.59
8.1.100.0160.00418.70
8.1.90.0140.00318.56
8.1.80.0180.00318.66
8.1.70.0140.00418.58
8.1.60.0150.00618.54
8.1.50.0120.00718.67
8.1.40.0080.01318.63
8.1.30.0160.00718.73
8.1.20.0110.00918.59
8.1.10.0180.00418.69
8.1.00.0120.00918.50
8.0.270.0180.00018.02
8.0.260.0120.00617.93
8.0.250.0100.00518.05
8.0.240.0140.00017.91
8.0.230.0100.00617.96
8.0.220.0100.00517.98
8.0.210.0100.00517.99
8.0.200.0000.01318.03
8.0.190.0120.00018.05
8.0.180.0000.01518.04
8.0.170.0070.00818.00
8.0.160.0060.01218.05
8.0.150.0100.00718.03
8.0.140.0130.00317.99
8.0.130.0090.01017.91
8.0.120.0100.00417.86
8.0.110.0170.00018.02
8.0.100.0110.00417.89
8.0.90.0090.00618.01
8.0.80.0100.00517.96
8.0.70.0040.01017.98
8.0.60.0090.00917.99
8.0.50.0120.00618.01
8.0.30.0140.00217.92
8.0.20.0160.00418.00
8.0.10.0110.00518.01

preferences:
26.58 ms | 403 KiB | 5 Q