shay.co blog
Currently viewing the category:
"Performance"
In this article, we will learn the benefits of persistent connection in PDO, in terms of memory usage and time of execution.
The article will only observe connection to MySQL database.
Introduction
PDO is an abstraction layer for database connections in PHP, and it became increasingly popular in the past few years.
[...]
PHP 5.3 extended the Standard PHP Library, it came with some new-fancy data structures such as SplStack, SplMaxHeap and many more.
In this article I would like to focus one of them – SplFixedArray.
In PHP, arrays are one of the most fundamental data structures.
We use them everywhere.
Categories
