downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

hex2bin> <hebrev
[edit] Last updated: Sat, 07 Jan 2012

view this page in

hebrevc

(PHP 4, PHP 5)

hebrevc줄바꿈을 포함하여 논리 히브리 텍스트를 표시 텍스트로 변환

설명

string hebrevc ( string $hebrew_text [, int $max_chars_per_line ] )

줄바꿈(\n)을 "<br>\n"로 바꾸는 점을 제외하면, hebrev()와 동일합니다.

이 함수는 단어 중간에서 줄바꿈을 하지 않기 위해 노력합니다.

인수

hebrew_text

히브리 입력 문자열.

max_chars_per_line

이 선택적인 인수는 한 줄에 들어가는 최대 문자수를 지정합니다.

반환값

표시 문자열을 반환합니다.

참고

  • hebrev() - 논리 히브리 텍스트를 표시 텍스트로 변환



add a note add a note User Contributed Notes hebrevc - [2 notes]
up
1
yfurman at yahoo dot com
11 years ago
Beware of English use!
I was working on a little project, and used hebrevc to reverse Hebrew in a loop. The hebrevc function got a variable as an argument. Sometimes the variable was pure English and sometimes it was hebrew.
Suddenly I found out that the English too was cut with BR tags, which made it look funny - the last line was the first.

If you're going to use that function in mixed text, don't forget to check the language before using the function.

Yael
up
-1
Oded
3 years ago
If you want to use hebrevc with english,
just use strrev.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites