Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php check if variable is resource

function isResource($file) {
  if (is_resource($file)) {
    return TRUE;
  } else {
    return FALSE;
  }
}
 
PREVIOUS NEXT
Tagged: #php #check #variable #resource
ADD COMMENT
Topic
Name
1+2 =