2.PHP basic syntax __ constants, operators

1. Constant

  In all languages, the constants are fixed amount, that is to say when a constant is assigned, this value will not change. The same is true in PHP

  Declaratively: define ( "constant name", "constant value")

  

  Note: PHP constants are global in private methods, you do not need special statement

2. Operator

  For the commonly used operators, it will not be described again here described only special operator

  

  

  

  

Guess you like

Origin www.cnblogs.com/qfshini/p/12111938.html