3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Tinker away! use App\Models\CategoryTask; $org_category_task_count = CategoryTask::where('organisation_id', 4) ->whereNull('deleted_at') ->get() ->countBy('checklist_category_id'); return $org_category_task_count;

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.5.00.0140.00820.05
8.4.150.0030.00014.05
8.4.140.0130.00917.65
8.4.130.0110.00818.70
8.4.120.0140.00622.23
8.4.110.0150.00518.97
8.4.100.0120.00617.93
8.4.90.0110.00920.77
8.4.80.0130.00624.17
8.4.70.0090.01020.75
8.4.60.0060.00420.55
8.4.50.0080.01320.21
8.4.40.0170.00317.77
8.4.30.0120.00618.61
8.4.20.0070.01120.70
8.4.10.0130.00319.51
8.3.280.0130.00820.04
8.3.270.0050.00416.70
8.3.260.0140.00516.39
8.3.250.0070.01116.97
8.3.240.0090.01016.92
8.3.230.0130.00616.70
8.3.220.0100.00818.77
8.3.210.0080.01018.42
8.3.200.0040.00516.88
8.3.190.0080.01016.91
8.3.180.0100.01018.75
8.3.170.0120.00918.77
8.3.160.0040.00418.23
8.3.150.0090.00917.21
8.3.140.0080.00016.81
8.3.130.0000.00818.27
8.3.120.0110.00018.93
8.3.110.0030.00620.94
8.3.100.0090.00024.06
8.3.90.0050.00326.77
8.3.80.0060.00317.97
8.3.70.0030.01418.43
8.3.60.0070.01016.75
8.3.50.0090.00616.77
8.3.40.0140.00019.94
8.3.30.0030.01021.56
8.3.20.0080.00024.18
8.3.10.0070.00024.66
8.3.00.0000.00726.16
8.2.290.0110.00816.93
8.2.280.0130.00618.39
8.2.270.0120.00616.61
8.2.260.0100.00717.35
8.2.250.0080.00616.54
8.2.240.0080.00417.18
8.2.230.0080.00022.58
8.2.220.0100.00337.54
8.2.210.0040.01126.77
8.2.200.0040.00418.42
8.2.190.0090.00616.58
8.2.180.0120.00618.63
8.2.170.0140.00319.00
8.2.160.0070.00722.96
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0030.00619.23
8.2.110.0100.00022.27
8.2.100.0090.00020.90
8.2.90.0120.00318.55
8.2.80.0320.00018.72
8.2.70.0110.00518.62
8.2.60.0160.00018.77
8.2.50.0150.01120.02
8.2.40.0110.00318.78
8.2.30.0090.00518.78
8.2.20.0270.00319.08
8.2.10.0230.00319.13
8.2.00.0110.00318.91
8.1.330.0110.00816.14
8.1.320.0110.00817.89
8.1.310.0030.01016.85
8.1.300.0050.00517.89
8.1.290.0040.00430.84
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0110.00318.49
8.1.230.0120.00318.41
8.1.220.0080.01518.50
8.1.210.0150.00719.83
8.1.200.0240.00018.55
8.1.190.0050.01019.73
8.1.180.0150.00018.19
8.1.170.0190.00318.54
8.1.160.0100.00318.64
8.1.150.0090.00320.55
8.1.140.0100.00318.34
8.1.130.0060.00918.29
8.1.120.0090.00318.38
8.1.110.0090.00319.64
8.1.100.0100.00518.37
8.1.90.0090.00518.55
8.1.80.0090.00418.50
8.1.70.0130.00018.48
8.1.60.0090.00618.53
8.1.50.0160.00018.53
8.1.40.0070.00718.86
8.1.30.0060.00618.75
8.1.20.0120.00318.79
8.1.10.0140.00018.87
8.1.00.0140.00018.72
8.0.300.0090.00618.00
8.0.290.0090.00617.90
8.0.280.0060.00617.74
8.0.270.0140.00017.77
8.0.260.0040.01618.36
8.0.250.0190.00017.71
8.0.240.0130.00017.96
8.0.230.0090.00318.32
8.0.220.0130.00017.77
8.0.210.0200.00917.85
8.0.200.0160.00018.00
8.0.190.0120.00018.16
8.0.180.0160.00817.83
8.0.170.0100.00617.94
8.0.160.0250.00718.02
8.0.150.0100.00517.82
8.0.140.0230.00317.88
8.0.130.0130.01017.98
8.0.120.0140.00717.63
8.0.110.0110.00018.16
8.0.100.0150.00017.88
8.0.90.0120.00417.88
8.0.80.0140.00017.88
8.0.70.0110.00417.86
8.0.60.0100.00217.85
8.0.50.0100.00317.88
8.0.30.0040.00818.20
8.0.20.0100.00318.02
8.0.10.0120.00218.00

preferences:
80.67 ms | 403 KiB | 5 Q