PHP 8.5.0 Alpha 1 available for testing

hebrev

(PHP 4, PHP 5, PHP 7, PHP 8)

hebrevConvierte un texto lógico hebreo en texto visual

Descripción

hebrev(string $string, int $max_chars_per_line = 0): string

Convierte un texto lógico hebreo en texto visual.

La función intenta evitar la división de palabras.

Parámetros

string

Un string de entrada en hebreo.

max_chars_per_line

El argumento opcional max_chars_per_line indica el número máximo de caracteres por línea en el resultado.

Valores devueltos

Devuelve el string visual.

Ver también

  • hebrevc() - Convierte un texto lógico hebreo en texto visual, con saltos de línea

add a note

User Contributed Notes 1 note

up
7
tinko
20 years ago
From my experience in using hebrev text in HTML, I prefer using

<html dir="rtl" lang="he">

over mentioned PHP functions. It works perfectly with IE 6 ... needs some tweaking in Mozilla though.

I found this site http://tlt.its.psu.edu/suggestions/international/web/tips/align.html useful.
To Top