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

Result: $handle is a resource
PHP Version:


Function is_resource:

Variable handling Functions

Most used PHP functions