When using var_dump on a string I get the return of string(12) “55″. What does this mean exactly? The value of 55 makes sense as that’s what the string is defined as but what does string(12) represent?
When using var_dump on a string I get the return of string(12) 55″ .
Share
It means the variable is a string of length 12. The length of 12 can be caused by:
55(use the trim() function)