ord gets the ascii code of each letter from the string scanned by for, which is executed while $i value is less than the total size of the string $text.
If the ascii code is between 90 and 60 (the ascii code range for all uppercase letters) it prints an HTML space in the returnerd HTML code from the server to the user browser.

mmm,
I was sure that there was a php function...
Can you explain the way it works??
For example, the common sample in all php manuals, which I tried to understand so many times before but finally getting bored -->

Joan Garnet wrote:mmm,I was sure that there was a php function...Can you explain the way it works??For example, the common sample in all php manuals, which I tried to understand so many times before but finally getting bored -->