3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); final class GuzzleFactory { /** * Create a new guzzle client. * * @param array $options * @param int|null $backoff * @param int[]|null $codes * * @return \GuzzleHttp\Client */ public static function make(array $options = [], int $backoff = null, array $codes = null) { // } } (new GuzzleFactory)->make([]);

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.00918.31
8.3.50.0090.01216.37
8.3.40.0040.01118.60
8.3.30.0070.01118.59
8.3.20.0040.00421.73
8.3.10.0040.00421.95
8.3.00.0080.00020.95
8.2.180.0000.01518.16
8.2.170.0040.01122.96
8.2.160.0140.00021.93
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0040.00420.35
8.2.120.0070.00026.35
8.2.110.0090.00019.39
8.2.100.0040.00717.72
8.2.90.0080.00017.78
8.2.80.0050.00319.26
8.2.70.0000.00817.80
8.2.60.0040.00417.91
8.2.50.0080.00318.10
8.2.40.0050.00220.55
8.2.30.0040.00418.99
8.2.20.0000.00717.93
8.2.10.0000.00717.93
8.2.00.0020.00517.92
8.1.280.0100.01025.92
8.1.270.0040.00423.73
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00623.91
8.1.230.0130.00020.94
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0110.00017.00
8.1.190.0050.00317.00
8.1.180.0030.00618.10
8.1.170.0000.00818.38
8.1.160.0040.00418.75
8.1.150.0050.00222.05
8.1.140.0040.00419.55
8.1.130.0070.00018.67
8.1.120.0030.00317.34
8.1.110.0050.00317.22
8.1.100.0040.00417.33
8.1.90.0060.00317.30
8.1.80.0000.00717.32
8.1.70.0030.00317.23
8.1.60.0060.00317.51
8.1.50.0000.00817.48
8.1.40.0040.00417.45
8.1.30.0000.00817.48
8.1.20.0000.00817.60
8.1.10.0050.00217.45
8.1.00.0040.00417.39
8.0.300.0040.00420.02
8.0.290.0050.00316.63
8.0.280.0070.00018.30
8.0.270.0000.00717.20
8.0.260.0000.00816.75
8.0.250.0000.00616.93
8.0.240.0000.00816.79
8.0.230.0000.00716.81
8.0.220.0070.00016.64
8.0.210.0000.00716.75
8.0.200.0030.00316.86
8.0.190.0000.00816.78
8.0.180.0050.00216.82
8.0.170.0050.00516.72
8.0.160.0040.00416.78
8.0.150.0030.00516.63
8.0.140.0000.00716.73
8.0.130.0030.00313.26
8.0.120.0000.00716.76
8.0.110.0000.00816.74
8.0.100.0030.00316.64
8.0.90.0000.00716.76
8.0.80.0090.01316.74
8.0.70.0000.00716.64
8.0.60.0040.00416.70
8.0.50.0070.00016.65
8.0.30.0090.01017.10
8.0.20.0130.00717.40
8.0.10.0000.00716.75
8.0.00.0120.00616.81
7.4.330.0050.00015.55
7.4.320.0000.00616.41
7.4.300.0000.00616.42
7.4.290.0050.00216.50
7.4.280.0040.00416.50
7.4.270.0030.00316.52
7.4.260.0050.00013.15
7.4.250.0000.00716.50
7.4.240.0000.00716.56
7.4.230.0020.00516.45
7.4.220.0120.00616.60
7.4.210.0130.00316.54
7.4.200.0030.00316.56
7.4.160.0020.01416.50
7.4.150.0120.00617.40
7.4.140.0070.01217.86
7.4.130.0090.01516.38
7.4.120.0080.01116.44
7.4.110.0070.01016.32
7.4.100.0100.00716.44
7.4.90.0080.00816.28
7.4.80.0100.00719.39
7.4.70.0090.00616.31
7.4.60.0080.00816.38
7.4.50.0040.01116.36
7.4.40.0090.00916.16
7.4.30.0150.00716.32
7.4.00.0060.00914.80
7.3.330.0000.00613.18
7.3.320.0000.00613.21
7.3.310.0070.00016.24
7.3.300.0030.00316.24
7.3.290.0030.01516.26
7.3.280.0090.00916.21
7.3.270.0100.01017.40
7.3.260.0120.00816.28
7.3.250.0080.01116.26
7.3.240.0130.00816.23
7.3.230.0040.01416.20
7.3.210.0060.00916.15
7.3.200.0040.01216.36
7.3.190.0110.01116.26
7.3.180.0080.00816.40
7.3.170.0090.00616.28
7.3.160.0060.01416.46
7.2.330.0120.00616.54
7.2.320.0090.00916.61
7.2.310.0110.00516.43
7.2.300.0030.01516.63
7.2.290.0030.01316.53
7.2.60.0140.00716.72
7.2.50.0060.00316.86
7.2.00.0130.00019.03
7.1.200.0040.00715.37
7.1.70.0000.00717.11
7.1.60.0600.01733.28
7.1.50.0600.00732.81
7.1.40.0570.00732.34
7.1.30.0500.01732.73
7.1.20.0830.02332.71
7.1.10.0430.01314.47
7.1.00.0400.01314.70
7.0.200.0700.00714.65
7.0.190.0430.01314.54
7.0.180.0430.00714.30
7.0.170.0570.01014.24
7.0.160.0570.01014.37
7.0.150.0400.01314.25
7.0.140.1200.01014.41
7.0.130.0430.01014.47
7.0.120.0470.01314.49
7.0.110.0430.01014.27
7.0.100.0470.00714.32
7.0.90.0400.01314.30
7.0.80.0700.02014.49
7.0.70.0400.01314.30
7.0.60.0570.00714.07
7.0.50.0700.01714.27
7.0.40.0500.01014.47
7.0.30.0500.00714.68
7.0.20.0670.01314.33
7.0.10.0600.01314.33
7.0.00.0670.01014.52

preferences:
56.01 ms | 401 KiB | 5 Q