PHP hebrev() Function

You are Here:

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("á çùåï äúùñâ"); ?>

Output

á çùåï äúùñâ

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

Reminder

Hi Developers, we almost covered 90% of String functions and Interview Question on PHP with examples for quick and easy learning.

We are working to cover every Single Concept in PHP.

Please do google search for:

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