Why is it that following results in 34? It doesn't seem to have anything to do with octal numbers. intval(042);