Update page 'P# v1.0 Specification'

2018-07-28 12:12:24 +02:00
parent a0f9b45f2f
commit 958ccc689b

@@ -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" (!)