Update page 'P# 1.0 Draft Specification'
@@ -232,6 +232,7 @@ Type casting in P# works much as it does in C/C++ - the name of the desired type
|
||||
* (string) - casts to String
|
||||
* (unset) - casts to NULL
|
||||
|
||||
|
||||
<%
|
||||
string $str = "45";
|
||||
int $integer = 7 + (int) $str; // contains value: 52
|
||||
|
||||
Reference in New Issue
Block a user