is_resource

PHP 4, PHP 5, PHP 7, PHP 8
is_resource - Finds whether a variable is a resource
Manual
Code Examples

Example #1 is_resource example

PHP Version: