0
I would like to make a function in PHP that would receive a character and return the next character, according to the ASCII table.
For example: receives 'a' and returns 'b'. I know how to do this in C, which would be
char funcao(char C) {
return C++;
}
But this way it doesn’t work in PHP. Someone knows how to do it?
And if the input letter is
z
, the exit must be}
?– Woss
Yes, according to the ASCII table.
– pcesarmf