8 Course recommendations for resource data types

Source: Internet
Author: User
What is a resource data type? The resource data type is PHP4 introduced. A resource is a special type of variable that holds a reference to an external resource, such as opening a file, a database connection, a graphics canvas area, and so on. Resources are created and used through specialized functions. The use of resource variables in PHP $fp = fopen ("Test.txt", "RW"); Var_dump ($FP); Fclose ($fp); Print Result: Resource (5) of type (stream) Number 5: Indicates resource ID 5, which is described later. Stream: Resource type name. The resource ID kernel stores the registered resource variables in a hashtable and takes the key in the resource Hashtable as the resource ID. So, in fact, the resource variables in PHP actually store a whole

1. PHP: Resource (Resource) data type instance detailed

Summary: The resource data type was introduced by PHP4. A resource is a special type of variable that holds a reference to an external resource, such as opening a file, a database connection, a graphics canvas area, and so on. Resources are created and used through specialized functions.

2. [Translation][php extended development and Embedded] Chapter 9th-Resource data types

Summary: So far, you are working on very basic user spatial data types, strings, values, True/false equivalents. Even though you have already touched the array in the previous chapter, you are only collecting arrays of these underlying data types.

3. php extension and Embedding--resource data type 2_php tutorial

Introduction: PHP Extensions and Embedding-resource data type 2. Complex data types that are stored in resource variables typically require some memory allocation, CPU time, or network traffic when initializing. However, the resource that holds the class-to-database connection between requests

4. php extension and Embedded Resource data type 2

Introduction: PHP Extensions and Embedding-resource data type 2. Complex data types that are stored in resource variables typically require some memory allocation, CPU time, or network traffic when initializing. However, the resource that holds the class-to-database connection between requests

5. php extension and Embedding--resource data type 2

Summary: Complex data types that are stored in resource variables typically require some memory allocation, CPU time, or network traffic when initializing. However, classes & 20284 are retained between requests, and the resources that are connected to the database must be persistent. The sustainability of resources is a factor that must be taken into account. First Look

6. [Interpreter][php extensions and embedded] Chapter 8th-Resource data types

Introduction: [Translation][php extensions and embedded] Chapter 8th-Resource data types all translated content PDF document download address: http://download.csdn.net/detail/lgg201/ 5107012 book currently on GitHub by Laruence (http://www.laruence.com) and Walu (http://www.walu.cc) two Daniel group translation.

7. PHP extensions and Embedding-resource data Type II

Introduction: PHP Extensions and Embedding--resource data type 2 complex data types stored in resource variables typically require some memory allocations, CPU time, or network traffic when initializing. However, it is necessary to persist a resource that is similar to a database connection between requests. The sustainability of resources is a factor that must be taken into account. First look at the memory allocation problem: When using PHP, prefer to use the Emal

8. [Interpreter][php extensions and embedded] Chapter 8th-Resource data types

Introduction: [Translation][php extensions and embedded] Chapter 8th-Resource data types all translated content PDF document download address: http://download.csdn.net/detail/lgg201/ 5107012 book currently on GitHub by Laruence (http://www.laruence.com) and Walu (http://www.walu.cc) two Daniel group translation. The translated item

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.