3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getUserConsentsByUid(string $uid, array $filters = [], ?int $limit): array { } getUserConsentsByUid('uid', [], 20);

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.0040.01518.53
8.3.50.0150.00018.07
8.3.40.0060.00918.71
8.3.30.0120.00318.58
8.3.20.0000.00819.30
8.3.10.0040.00421.78
8.3.00.0040.00420.58
8.2.180.0120.00318.41
8.2.170.0090.00622.96
8.2.160.0080.01120.99
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00017.97
8.2.120.0050.00526.35
8.2.110.0090.00019.27
8.2.100.0030.00917.78
8.2.90.0040.00417.63
8.2.80.0000.00817.97
8.2.70.0040.00417.93
8.2.60.0060.00318.22
8.2.50.0080.00018.10
8.2.40.0090.00019.17
8.2.30.0050.00319.08
8.2.20.0040.00417.96
8.2.10.0040.00417.86
8.2.00.0040.00417.62
8.1.280.0210.00025.92
8.1.270.0080.00020.44
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0090.00022.47
8.1.230.0000.01122.13
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0080.00017.10
8.1.180.0000.00718.10
8.1.170.0040.00418.52
8.1.160.0040.00418.74
8.1.150.0030.00518.74
8.1.140.0030.00322.15
8.1.130.0000.00720.06
8.1.120.0040.00417.23
8.1.110.0050.00217.27
8.1.100.0000.00717.38
8.1.90.0000.00817.34
8.1.80.0080.00017.31
8.1.70.0070.00017.21
8.1.60.0000.00817.52
8.1.50.0040.00417.46
8.1.40.0040.00417.49
8.1.30.0030.00917.59
8.1.20.0000.00717.49
8.1.10.0040.00417.36
8.1.00.0070.00017.42
8.0.300.0050.00318.77
8.0.290.0050.00216.75
8.0.280.0070.00018.38
8.0.270.0000.00817.14
8.0.260.0030.00318.44
8.0.250.0050.00316.98
8.0.240.0040.00416.94
8.0.230.0030.00316.91
8.0.220.0000.00816.88
8.0.210.0030.00316.92
8.0.200.0030.00316.86
8.0.190.0070.00016.92
8.0.180.0030.00616.93
8.0.170.0030.00616.89
8.0.160.0040.00316.87
8.0.150.0040.00416.82
8.0.140.0030.00316.85
8.0.130.0000.00813.28
8.0.120.0000.00716.90
8.0.110.0000.00716.85
8.0.100.0040.00416.78
8.0.90.0000.00716.77
8.0.80.0080.00716.89
8.0.70.0000.00816.87
8.0.60.0040.00416.87
8.0.50.0050.00316.93
8.0.30.0110.00817.08
8.0.20.0140.00617.40
8.0.10.0000.00716.84
8.0.00.0110.01416.85
7.4.330.0050.00015.55
7.4.320.0030.00316.46
7.4.300.0030.00316.42
7.4.290.0000.00716.38
7.4.280.0070.00316.37
7.4.270.0030.00716.54
7.4.260.0070.00016.48
7.4.250.0040.00416.29
7.4.240.0030.00516.30
7.4.230.0030.00316.52
7.4.220.0000.00716.40
7.4.210.0060.00816.52
7.4.200.0050.00216.36
7.4.160.0080.00816.48
7.4.140.0100.01017.86
7.4.130.0090.00916.48
7.4.120.0130.00716.39
7.4.110.0060.01316.41
7.4.100.0090.00916.47
7.4.90.0060.01216.43
7.4.80.0090.01319.39
7.4.70.0080.00816.41
7.4.60.0090.00916.45
7.4.50.0060.01116.39
7.4.40.0140.00316.30
7.4.00.0070.00714.68
7.3.330.0030.00313.34
7.3.320.0000.00713.22
7.3.310.0030.00516.46
7.3.300.0000.00916.36
7.3.290.0070.00016.22
7.3.280.0090.00516.33
7.3.260.0130.00416.33
7.3.240.0080.00916.33
7.3.230.0100.00716.53
7.3.210.0090.00616.36
7.3.200.0100.00616.31
7.3.190.0140.01016.45
7.3.180.0070.01116.36
7.3.170.0060.01116.36
7.3.160.0090.00616.38
7.2.330.0130.00516.25
7.2.320.0100.01516.51
7.2.310.0070.01016.42
7.2.300.0100.00716.50
7.2.290.0070.01016.50
7.2.110.0260.00714.59
7.2.100.0350.01214.75
7.2.90.0190.01214.74
7.2.80.0220.00614.70
7.2.70.0290.00915.05
7.2.60.0340.01415.14
7.2.50.0240.00714.91
7.2.40.0240.00614.88
7.2.30.0330.00314.76
7.2.20.0340.01314.81
7.2.10.0360.00314.91
7.2.00.0940.01015.05
7.1.230.0230.00913.98
7.1.220.0230.00413.68
7.1.210.0230.00713.80
7.1.200.0240.00713.79
7.1.190.0270.00913.57
7.1.180.0250.01213.73
7.1.170.0220.00613.94
7.1.160.0250.00713.70
7.1.150.0250.00413.80
7.1.140.0270.00613.95
7.1.130.0290.01313.94
7.1.120.0350.00313.94
7.1.110.0120.00613.68
7.1.100.0270.00613.46
7.1.90.0090.00313.28
7.1.80.0240.00613.59
7.1.70.0310.01313.56
7.1.60.0540.01331.69
7.1.50.0740.00631.73
7.1.40.0430.01131.64
7.1.30.0520.00631.53
7.1.20.0510.00931.62
7.1.10.0460.00613.43
7.1.00.0290.00713.57
5.6.380.0100.00614.16

preferences:
92.46 ms | 401 KiB | 5 Q