Home > Article > Backend Development > Which is not a keyword in php
string is not a 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, etc.
#The operating environment of this article: Windows7 system, PHP7.1, Dell G3.
Which one is not a keyword in php?
string is not a keyword in php.
php keyword list:
These words have special meaning in PHP. Some of them look like functions, some of them look like constants, but they're not real, they're just part of the language structure. You cannot use any of them as constant, class name, function or method name. But they can be used as class attributes, constants and class method names, or interface names and trait names, except class cannot be used as constant names.
View PHP official keyword information:
https://www.php.net/manual/zh/reserved.keywords.php
The above is the detailed content of Which is not a keyword in php. For more information, please follow other related articles on the PHP Chinese website!