Resource type of php data type

Resource Type

Resource type Many beginners find it difficult to understand. Because when the resource type is printed, only one English resource can be seen. Nothing else can be displayed on the computer, but it has an objective existence.

Actually, the resource type is very simple. Let's explain it with words.

The resources in the computer refer to:

1. Word, excel and other files

2. Pictures of beautiful women and our selfies and other pictures collected by others

3.Music

4. AVI movies that some people like to watch

5.Open webpage

6.Database
... .. .Wait

We open an image and use PHP to operate it, we are a resource to operate.
The database connection we open, we need to connect to the database, the database is the resource we operate.
Including network connection, sending emails after connection, we can also think of it as a resource.

The focus of this chapter: Understanding resources means manipulating our visible and invisible files, networks and data. In the following chapters, everyone will have a deeper impression when operating pictures and networks.


English explanation
*resource * Pronunciation: [ˈri:sɔ:rs]
Explanation: Resource


##

Continuing Learning
||
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!