To check memory usage, PHP provides an inbuilt function memory_get_usage(). This function returns the amount of memory allocated to a PHP script.
-
Related Posts (YARPP)
-
Topics
-
-
How to connect MySql database using PHP. PHP provides inbuilt functions to connect to MySql database using their extensions. In this post, I’ll explain how to connect MySql Database using PHP.
In PHP, you can connect MySql database using following extensions.
In my previous post i have discussed new features of PHP 5.4 such as concept of Traits and shorter syntax of array.
In this post i’ll discuss the concept of function array dereferencing which is introduced in PHP 5.4. In simple words function array dereference means when array is returned, pick the value directly from it.