If I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, whats the problem?
Answer Posted / Mohammad Shadab
The problem might be related to the way numbers are interpreted. In PHP (which WordPress is built on), '0123' is an octal number, which represents the number 67 in decimal. To assign the value '0123' as a string or decimal number, you should use single quotes instead of double quotes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers