|
get_resourcesReturns active resources Description
array get_resources(stringnull
$type = null)Returns an array of all currently active resources, optionally filtered by resource type.
Parameters
Return ValuesReturns an array of currently active resources, indexed by resource number. Changelog
Examples
Example #1 Unfiltered get_resources The above example will output something similar to:
array(1) {
[1]=>
resource(1) of type (stream)
}
Example #2 Filtered get_resources The above example will output something similar to:
array(1) {
[1]=>
resource(1) of type (stream)
}
array(0) {
}
See Also
|