1--TEST--
2Test hebrev() function : basic functionality
3--FILE--
4<?php
5
6echo "*** Testing hebrev() : basic functionality ***\n";
7
8$hebrew_text = "The hebrev function converts logical Hebrew text to visual text.\nThe function tries to avoid breaking words.\n";
9
10var_dump(hebrev($hebrew_text));
11var_dump(hebrev($hebrew_text, 15));
12
13?>
14--EXPECT--
15*** Testing hebrev() : basic functionality ***
16string(109) ".The hebrev function converts logical Hebrew text to visual text
17.The function tries to avoid breaking words
18"
19string(109) "to visual text
20Hebrew text
21logical
22converts
23hebrev function
24.The
25breaking words
26tries to avoid
27.The function
28"
29