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
-
-
Write a c program to reverse a string without using strrev function. Given an input string, we have to write a method to reverse a string. In c, you can simply reverse a string using an inbuilt strrev() function. But we don’t have to use this method.
Think how do you solve this problem. In this tutorial, we write a c code to reverse a string using stack, pointers, recursion, loop.
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.