PHP hebrev() Function

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_textRequiredSpecifies a Hebrew input string.
max_chars_per_lineOptionalSpecifies the maximum number of characters per line that will be returned.

Return Value

ValueExplanation
StringReturns the visual string

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author