PHP hebrev() Functions
Example
Reverse display of Hebrew characters:
<?php echo hebrev("? ???? ?????"); ?>
Definition and Usage
The hebrev() function converts the right-to-left stream of Hebrew text to a left-to-right stream.
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 very useful for displaying Hebrew text on the web.
Syntax
hebrev(string,maxcharline)
Parameter | Description |
---|---|
string | Required. Hebrew text. |
maxcharline | Optional. Specify the maximum number of characters per line. If possible, hebrev() will avoid breaking words. |
Technical Details
Return value: | Return visible string. |
PHP Version: | 4+ |