Answers for "php check if variable is resource"

PHP
0

php check if variable is resource

function isResource($file) {
  if (is_resource($file)) {
    return TRUE;
  } else {
    return FALSE;
  }
}
Posted by: Guest on September-20-2021

Code answers related to "php check if variable is resource"

Browse Popular Code Answers by Language