PHP hebrev() Function

Last Updated:

PHP hebrev()

The hebrev() function converts logical Hebrew text to visual text.

This function converts Hebrew text from a right-to-left flow to a left-to-right flow.

Note: This function tries to avoid breaking words.

Example

PHP Compiler
<?php echo hebrev("á çùåï äúùñâ"); ?>

Syntax

hebrev(hebrev_text, max_chars_per_line)

Parameter Values

ValueTypeExplanation
hebrev_text Required Specifies a Hebrew input string.
max_chars_per_line Optional Specifies the maximum number of characters per line that will be returned.

Return Value

ValueExplanation
String Returns the visual string

Share this Page

Meet the Author