Update page 'P# v1.0 Specification'
@@ -125,7 +125,7 @@ P# code can be split in multiple files for bigger scripts. There are four statem
|
||||
* require
|
||||
* require_one
|
||||
|
||||
All of above listed builtin functions can be used from any place, even outside of the class definition.
|
||||
All of above listed builtin functions can be used from any place, even outside of the class definition.
|
||||
|
||||
## 5. Data Types & Pseudo Types
|
||||
### 5.1. Boolean Values
|
||||
@@ -287,6 +287,12 @@ The order of evaluation of operators in an expression is determined by the prece
|
||||
|
||||
### 6.1. Operator Precedence
|
||||
When an expression contains multiple operators, the precedence of the operators controls the order in which the individual operators are evaluated. The precedence of an operator is established by the definition of its associated grammar production. The following list shows common PHP operators ordered by precedence (highest precedence first):
|
||||
|
||||
| Description | Operator | Associativity |
|
||||
|---------------------|-------------|---------------|
|
||||
| increment/decrement | ++ -- | left |
|
||||
|
||||
|
||||
* increment/decrement (++ --)
|
||||
* casting
|
||||
* logical "not" (!)
|
||||
|
||||
Reference in New Issue
Block a user