PHP function get_resources()
Availability in PHP 7.0
Returns active resources
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$type |
string |
not | If defined, this will cause get_resources() to only return resources of the given type. A list of resource types is available. If the string Unknown is provided as the type, then only resources that are of an unknown type will be returned. If omitted, all resources will be returned. |
Return values
array
Returns an array of currently active resources, indexed by resource number.