Display Hebrew characters in reverse:
<?phpecho hebrev("á çùåï äúùñâ");?>The hebrev() function converts Hebrew text from right-to-left flow to left-to-right flow.
Tip: hebrev() and hebrevc() can convert Hebrew logical text (Windows encoding) to Hebrew visible text. Hebrew visible text does not require special right-to-left character support, making it useful for displaying Hebrew text on the Web.
hebrev( string,maxcharline )
parameter | describe |
---|---|
string | Required. Hebrew text. |
maxcharline | Optional. Specifies the maximum number of characters per line. hebrev() will avoid breaking words if possible. |
Return value: | Returns a visible string. |
---|---|
PHP version: | 4+ |