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

Add exceptions to ArrayAccess examples

This commit is contained in:
Daniel St. Jules
2014-02-06 18:31:34 -05:00
parent 3f5b6a2413
commit ffe6c2575a

View File

@@ -157,6 +157,9 @@ $stringy = S::create('Bàř', 'UTF-8');
echo $stringy[2]; // 'ř'
echo $stringy[-2]; // 'à'
isset($stringy[-4]); // false
$stringy[3]; // OutOfBoundsException
$stringy[2] = 'a'; // Exception
```
## Methods