gush, frustrating. I am not a pro; but I know PHP well enough to understand how it works. And a simple conversion from string to integer via (int)$value or intval($value) should be straightforward. But it's not working in my case.
I have a string:
Expand|Select|Wrap|Line Numbers
- % population: 99%
The resulting variable $r[0] is "99". I have an
Expand|Select|Wrap|Line Numbers
- if (($r[0] >= 75))
I tried all combinations of (int) and intval()
Expand|Select|Wrap|Line Numbers
- $t = (int)$r[0];
- $t = intval($r[0];
What is wrong here?!
Thanks for any hints!