PHP hebrevc() Function

You are Here:

PHP hebrevc()

The hebrevc() function converts logical Hebrew text to visual text with newline conversion. It also converts new lines (\n) into <br>.

Note: This function tries to avoid breaking words.


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


á äúùñâ á çùåï


hebrevc(hebrew_text, max_chars_per_line)

Parameter Values

hebrew_textRequiredSpecifies a Hebrew text.
max_chars_per_lineOptionalSpecifies the maximum number of characters per line that will be returned.

Return Value

NumberReturns the visual string.


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