Resource: PHP is often used to interact with some external data source: databases, files, and network streams all come to mind. These external data is called resources.
example:
$resource=fopen("/home/jason/kooks.txt","r"); // here $resource is an resource variable
Comments 0