Home  >  Article  >  File identifiers include

File identifiers include

(*-*)浩
(*-*)浩Original
2019-12-10 11:37:5210837browse

File identifiers include

The file identifier consists of letters (A-Z, a-z), numbers (0-9), and the underscore "_", and the first character cannot be a number, but it can be a letter Or underline.

The naming rule is prefix + suffix, with a dot in the middle. The prefix name can be named arbitrarily, while the suffix name indicates the format type of the file.

The file identifier is actually the file name (Recommended learning: web front-end video tutorial)

The rule is prefix name + suffix name, with the middle Add a dot. The prefix name can be named arbitrarily, while the suffix name indicates the format type of the file.

Windows identifies the file through its suffix name

The characters that make up the file name or folder can be English letters, numbers and ¥@&+ (), underline, space, Chinese characters, etc. But the following 9 characters cannot be used:

?\ * | “ < > : /

File identifiers are case-sensitive, that is, they are strictly case-sensitive.

File identifiers include

In computer languages, some identifiers are predefined for special purposes. We call them keywords. Therefore, named file identifiers cannot be used with keywords. same.

There is another situation that must be noted, that is, the same file identifier is not allowed to be defined in the same file directory domain.

The file identifier length is determined by the compilation system on the machine, so the file identifier can use up to 256 characters in the name of the file or folder.

The above is the detailed content of File identifiers include. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn