What does it mean when var_dump reports the wrong string length?
Posted
by vamin
on Stack Overflow
See other posts from Stack Overflow
or by vamin
Published on 2010-05-09T17:40:58Z
Indexed on
2010/05/09
17:58 UTC
Read the original article
Hit count: 148
I'm trying to figure out why a variable isn't triggering a conditional that it should. var_dump reports something like this:
string(20) "0"
Why is it reporting a length of 20 when the length is clearly 1?
© Stack Overflow or respective owner