3v4l.org

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

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.0120.00318.43
8.3.50.0130.00318.16
8.3.40.0040.01118.58
8.3.30.0070.00718.52
8.3.20.0040.00418.95
8.3.10.0080.00021.92
8.3.00.0080.00020.43
8.2.180.0070.00716.63
8.2.170.0110.00422.96
8.2.160.0100.00320.70
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00417.78
8.2.120.0070.00026.35
8.2.110.0030.00721.18
8.2.100.0080.00417.59
8.2.90.0080.00017.38
8.2.80.0050.00317.97
8.2.70.0060.00317.91
8.2.60.0040.00418.09
8.2.50.0080.00018.10
8.2.40.0000.00819.36
8.2.30.0020.00518.99
8.2.20.0000.00717.98
8.2.10.0000.00717.91
8.2.00.0040.00417.39
8.1.270.0040.00420.52
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0090.00022.39
8.1.230.0090.00322.07
8.1.220.0070.00017.74
8.1.210.0000.00818.77
8.1.200.0000.00817.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0050.00318.24
8.1.160.0040.00418.75
8.1.150.0030.00618.70
8.1.140.0040.00422.17
8.1.130.0000.00720.08
8.1.120.0000.00717.15
8.1.110.0000.00817.30
8.1.100.0050.00217.30
8.1.90.0070.00017.21
8.1.80.0030.00517.37
8.1.70.0000.00717.38
8.1.60.0050.00317.51
8.1.50.0040.00417.47
8.1.40.0000.00717.41
8.1.30.0030.00617.45
8.1.20.0000.00817.61
8.1.10.0000.00817.23
8.1.00.0080.00017.29
8.0.300.0000.00818.77
8.0.290.0060.00316.58
8.0.280.0000.00618.35
8.0.270.0070.00017.17
8.0.260.0030.00318.39
8.0.250.0000.00716.71
8.0.240.0000.00716.77
8.0.230.0000.00716.85
8.0.220.0000.00716.75
8.0.210.0000.00716.75
8.0.200.0030.00316.70
8.0.190.0070.00016.84
8.0.180.0020.00516.70
8.0.170.0050.00316.75
8.0.160.0030.00516.75
8.0.150.0040.00416.58
8.0.140.0000.00916.77
8.0.130.0040.00413.23
8.0.120.0040.00416.64
8.0.110.0070.00016.78
8.0.100.0000.00716.80
8.0.90.0040.00416.76
8.0.80.0070.00716.79
8.0.70.0040.00416.82
8.0.60.0040.00416.55
8.0.50.0060.00316.76
8.0.30.0110.00816.98
8.0.20.0060.01217.40
8.0.10.0040.00416.86
8.0.00.0140.00616.68
7.4.330.0000.00515.55
7.4.320.0030.00316.43
7.4.300.0040.00416.53
7.4.290.0000.00716.32
7.4.280.0000.01016.47
7.4.270.0050.00516.54
7.4.260.0070.00016.30
7.4.250.0000.00816.48
7.4.240.0040.00316.54
7.4.230.0070.00016.45
7.4.220.0000.00716.46
7.4.210.0080.00716.55
7.4.200.0000.00716.55
7.4.160.0110.00616.38
7.4.140.0110.00817.86
7.4.130.0100.00716.35
7.4.120.0100.00816.48
7.4.110.0110.01316.40
7.4.100.0130.00616.35
7.4.90.0190.00316.52
7.4.80.0100.00719.39
7.4.70.0090.00916.36
7.4.60.0120.00416.39
7.4.50.0060.00916.49
7.4.40.0100.01316.34
7.4.00.0160.00014.67
7.3.330.0060.00013.30
7.3.320.0030.00313.26
7.3.310.0080.00016.03
7.3.300.0040.00416.30
7.3.290.0020.00516.18
7.3.280.0090.00716.20
7.3.260.0090.00816.33
7.3.240.0100.00916.38
7.3.230.0040.01216.36
7.3.210.0120.00316.16
7.3.200.0100.00616.30
7.3.190.0130.00316.42
7.3.180.0120.01216.42
7.3.170.0070.01016.56
7.3.160.0140.00616.46
7.2.330.0120.00616.25
7.2.320.0110.00716.64
7.2.310.0030.01316.29
7.2.300.0140.00316.42
7.2.290.0080.00816.50
7.2.110.0450.00714.49
7.2.100.0460.00314.71
7.2.90.0430.00514.50
7.2.80.0570.00714.65
7.2.70.0400.01014.75
7.2.60.0270.00714.65
7.2.50.0510.00314.61
7.2.40.0430.00514.75
7.2.30.0310.01214.98
7.2.20.0500.00814.88
7.2.10.0410.00914.80
7.2.00.0420.00914.92
7.1.230.0470.00513.81
7.1.220.0420.01313.71
7.1.210.0430.00713.85
7.1.200.0460.00713.80
7.1.190.0500.00313.93
7.1.180.0860.00613.73
7.1.170.0350.00913.83
7.1.160.0480.00813.83
7.1.150.0240.00813.62
7.1.140.0450.00513.79
7.1.130.0400.00913.75
7.1.120.0350.00713.70
7.1.110.0350.00913.64
7.1.100.0320.00913.53
7.1.90.0360.00913.57
7.1.80.0190.00913.55
7.1.70.0420.00613.65
7.1.60.0760.01131.58
7.1.50.0690.01331.69
7.1.40.0780.00531.60
7.1.30.0870.00631.74
7.1.20.0830.01031.50
7.1.10.0630.01313.79
7.1.00.0600.00513.57
5.6.380.0100.00614.13

preferences:
59.26 ms | 400 KiB | 5 Q