Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the keywords that are not php

Shulou Source: shulou.com Published: 2022-06-02 09:50:42 10月27日 Update

This article mainly explains "what are the keywords that are not php". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the keywords that are not php".

String is not the keyword of php. The keywords of php are: 1, abstract;2, and;3, array (); 4, as;5, break;6, callable;7, case;8, catch;9, class;10, clone and so on.

The operating environment of this paper: Windows7 system, PHP7.1, Dell G3.

Which is not the keyword of php?

String is not a keyword for php.

Php keyword list:

These words have special meanings in PHP. Some of them are like functions, some are like constants, but they are not real, they are just part of the language structure. You cannot use any of them as a constant, class name, function, or method name. But they can be used as class properties, constants, and class method names, or interface names and traits names, except that class cannot be used as a constant name.

Check the official keyword information of PHP:

Https://www.php.net/manual/zh/reserved.keywords.php

Thank you for your reading, the above is the content of "what are the keywords that are not php". After the study of this article, I believe you have a deeper understanding of what keywords that are not php, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Keywords keywords constants learning keywords content functions methods special information just official attributes ideas situations meaning interfaces articles more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Tech Info Microsoft NVidia Huawei