Current Location: Home> Function Categories> hebrevc

hebrevc

Convert logical-Hebrew to visual-Hebrew and convert newlines
Name:hebrevc
Category:String
Programming Language:php
One-line Description:Convert Hebrew text to visible text and convert new lines (\n) to.

Example

Show Hebrew characters in reverse and convert new lines (\n) to <br>:

 <span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token keyword">echo</span> <span class="token function">hebrevc</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"? ???????? ????\n? ??????????"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

Try it yourself

Similar Functions
  • Convert the first byte of the string to a value between 0-255 ord

    ord

    Convertthefirstbyteo
  • Binary safe string comparison strcmp

    strcmp

    Binarysafestringcomp
  • Anti-reference a string escaped using addcslashes() stripcslashes

    stripcslashes

    Anti-referenceastrin
  • Setting the locale information setlocale

    setlocale

    Settingthelocaleinfo
  • Convert binary data to hexadecimal representation bin2hex

    bin2hex

    Convertbinarydatatoh
  • Calculate the md5 hash value of a string md5

    md5

    Calculatethemd5hashv
  • Get the length of the starting substring that does not match the mask strcspn

    strcspn

    Getthelengthofthesta
  • Calculate the sha1 hash value of a string sha1

    sha1

    Calculatethesha1hash
Popular Articles