get_resource_type
spatie/ignition
Supported Versions: PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8
Returns the resource type
<?php get_resource_type
(
resource $resource
):
string