Home >
Article > Backend Development > PHP reversely displays Hebrew characters and converts new lines (\n) into
function hebrevc()
Example
Reverse display of Hebrew characters and convert new lines (\n) to 0c6dc11e160d3b678d68754cc175188a:
<?php echo hebrevc("á çùåï äúùñâ\ná çùåï äúùñâ"); ?>
Definition and usage
hebrevc () Function Converts Hebrew text from right-to-left flow to left-to-right flow. Also, convert new lines (\n) to 0c6dc11e160d3b678d68754cc175188a.
Tip: hebrevc() and hebrev() 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.
Syntax
hebrevc(string,maxcharline)
Parameters Description
string Hebrew text.
maxcharline Optional. Specifies the maximum number of characters per line. hebrevc() will avoid breaking words if possible.
Technical details
Return value: Return visible String.
PHP Version: 4+
The above is the detailed content of PHP reversely displays Hebrew characters and converts new lines (\n) into
function hebrevc(). For more information, please follow other related articles on the PHP Chinese website!