Tagged articles
2 articles
Page 1 of 1
php Courses
php Courses
Mar 25, 2025 · Backend Development

Counting Sort in PHP: Implementation, Steps, Advantages, and Use Cases

Counting sort is a non‑comparison integer sorting algorithm with O(n + k) time complexity, and this article explains its principles, step‑by‑step process, PHP implementation code, advantages, drawbacks, and suitable use cases for efficient data handling in backend development.

PHPSorting Algorithmalgorithm implementation
0 likes · 5 min read
Counting Sort in PHP: Implementation, Steps, Advantages, and Use Cases
21CTO
21CTO
May 5, 2016 · Fundamentals

Benchmarking 14 PHP Sorting Algorithms: Speed Rankings and Insights

This article benchmarks fourteen PHP sorting algorithms across various array sizes, ranking them by execution speed, detailing test setups, presenting performance charts for 1,000 to 2,000,000 elements, and concluding which algorithms are efficient or unsuitable for practical use.

Quick SortSortingalgorithm benchmark
0 likes · 5 min read
Benchmarking 14 PHP Sorting Algorithms: Speed Rankings and Insights