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.
Example
PHP Compiler
<?php
echo hebrevc("á äúùñâ\ná çùåï");
?>
Output
á äúùñâ
á çùåï
Syntax
hebrevc(hebrew_text, max_chars_per_line)
Parameter Values
Value | Type | Explanation |
---|---|---|
hebrew_text | Required | Specifies a Hebrew text. |
max_chars_per_line | Optional | Specifies the maximum number of characters per line that will be returned. |
Return Value
Value | Explanation |
---|---|
Number | Returns 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.