And I get the error stated in the title of this thread, when I just want to test the trimmed value like so:
Expand|Select|Wrap|Line Numbers
- if ( empty(trim($val)) ) {
Expand|Select|Wrap|Line Numbers
- $val = trim($val);
- if ( empty( $val ) ) {
Expand|Select|Wrap|Line Numbers
- switch (strlen(trim($val)))
- {
Is this true? And if so Why?