1.

What is a resource? Which functions return/create resource?

Answer»

A resource is a special VARIABLE, holding a reference to an external resource. Resources are CREATED and used by special functions. The following is a list of functions which create, USE or destroy PHP resources. The function is_resource() can be used to determine if a variable is a resource and get_resource_type() will return the TYPE of resource it is. HTTPS://www.php.net/manual/en/resource.php



Discussion

No Comment Found