I tried looking up (int) but could only find documentation for the function int() in the PHP manual.
(int)
int()
Could someone explain to me what the above
Simple example will make you understand:
var_dump((int)8); var_dump((int)"8"); var_dump((int)"6a6"); var_dump((int)"a6"); var_dump((int)8.9); var_dump((int)"8.9"); var_dump((int)"6.4a6");
Result:
int(8) int(8) int(6) int(0) int(8) int(8) int(6)