1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-12 16:24:00 +02:00

Update test and readme

This commit is contained in:
Daniel St. Jules
2013-07-23 01:13:31 -04:00
parent 4bb791e318
commit c5816ad928
2 changed files with 2 additions and 1 deletions

View File

@@ -359,7 +359,7 @@ S::reverse(string $str, [, string $encoding ])
Reverses a string. A multibyte version of strrev.
```php
S::reverse('', 'UTF-8'); //
S::reverse('fòô bàř', 'UTF-8'); // 'řàb ôòf'
```
## TODO

View File

@@ -624,6 +624,7 @@ class StringyTestCase extends PHPUnit_Framework_TestCase {
$testData = array(
array('', ''),
array('raboof', 'foobar'),
array('řàbôòf', 'fòôbàř', 'UTF-8'),
array('řàb ôòf', 'fòô bàř', 'UTF-8'),
array('∂∆ ˚åß', 'ßå˚ ∆∂', 'UTF-8')
);