3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); class OrderFill { public function __construct( public float $timestampms, public string $size, public string $price, public ?string $amount = NULL, public string $fee_usd, public string $exchangeOrderId, public string $tradeId, ) { var_dump($amount); } } new OrderFill( timestampms: 1.0, size: "1", price: "1", fee_usd: "1", exchangeOrderId: "1", tradeId: "1", );

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.0090.00616.63
8.3.50.0000.01416.30
8.3.40.0070.00718.84
8.3.30.0150.00018.60
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0030.00526.16
8.2.180.0070.00725.92
8.2.170.0200.00018.96
8.2.160.0090.00622.96
8.2.150.0040.00425.66
8.2.140.0070.00024.66
8.2.130.0060.00326.16
8.2.120.0050.00219.54
8.2.110.0060.00320.54
8.2.100.0040.00720.43
8.1.280.0070.01025.92
8.1.270.0050.00323.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00719.06
8.1.230.0040.00419.02
8.0.30.0090.00616.86
8.0.20.0070.01316.84
8.0.10.0110.00317.00
8.0.00.0030.01317.00
7.4.160.0040.01516.55
7.4.150.0160.00316.37
7.4.140.0130.00316.41
7.4.130.0030.01216.18
7.4.120.0060.00916.26
7.4.110.0100.00716.30
7.4.100.0060.01316.38
7.4.90.0090.00916.27
7.4.80.0110.00316.32
7.4.70.0070.00716.06
7.4.60.0040.01116.26
7.4.50.0090.00616.18
7.4.40.0110.00316.14
7.4.30.0100.00416.19
7.4.20.0120.00316.24
7.4.10.0140.00016.14
7.4.00.0070.01316.24
7.3.280.0050.00816.26
7.3.270.0080.00616.19
7.3.260.0040.01116.10
7.3.250.0080.00616.22
7.3.240.0090.00616.13
7.3.230.0070.01016.19
7.3.220.0060.01216.07
7.3.210.0070.00716.08
7.3.200.0070.00716.16
7.3.190.0090.00616.13
7.3.180.0070.00716.13
7.3.170.0030.01016.05
7.3.160.0110.00316.05
7.3.150.0080.00816.20
7.3.140.0070.00616.13
7.3.130.0090.00416.14
7.3.120.0060.01216.04
7.3.110.0070.00715.95
7.3.100.0000.01416.02
7.3.90.0090.00316.40
7.3.80.0100.00316.13
7.3.70.0030.01016.18
7.3.60.0100.00316.25
7.3.50.0060.00616.19
7.3.40.0070.00716.27
7.3.30.0160.00316.19
7.3.20.0140.00016.30
7.3.10.0070.01116.13
7.3.00.0000.01416.14

preferences:
38.44 ms | 400 KiB | 5 Q