In php5, const, define, and static 1. in const programming, we generally use constants to define the constant values that cannot be changed during runtime. let's take a look at const in php, there is nothing to say about this, just to improve the
About the Unicode character set(2011-10-20 20:54:03) The initial Unicode encoding is a fixed-length, 16-bit, or 22-byte representation of a character, which can represent a total of 65,536 characters. Obviously, it is not enough to represent all the
1. Const In programming, we generally use constants to define the constant values that cannot be changed during runtime. Let's take a look at the const in PHP. There is nothing to say about this, let's just talk about it for the sake of Knowledge
Static
A static data type is used to create a permanent storage space for a variable. The statically variable keeps their values unchanged when invoked between functions. When used in a class, all the variables that are used in a static variable
Static variables are used in a file. Space is allocated at the beginning of the program, and space is released at the end of the program. The default value is 0, which can be changed during use.
Static variables or static functions can be accessed
RegisterA variable declared with register is called a register variable, which is stored directly in the register of the machine, if possible, but not for the four-bit compiler when the global When optimizations(global Optimization) is on, it makes
Static variables are scoped to a file, space is allocated at the beginning of the program, Space is freed at the end, default is initialized to 0, and its value can be changed when used.static variables or static functions only the code in this file
Detailed description of the role of static in C/C ++1. in C language, the literal meaning of static can easily lead us astray. In fact, it has three functions.(1) first introduce the first and most important one: hiding.When we compile multiple
Static is a common keyword in C + + that is used to control how variables are stored and visible.In a class definition, its members, including data members and member functions, can be declared as static members with the keyword static. The
The previous article mentioned the generation of garbled code: http://blog.csdn.net/xieyuooo/article/details/6919007
The main reason is that the encoding and decoding methods are different. Sometimes, if we know the encoding method, decoding will
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.