| @@ -11,7 +11,7 @@ | ||
| 11 | 11 | |
| 12 | 12 | // --- EXAMPLE START --- | 
| 13 | 13 |  try { | 
| 14 | - $list = 'hello, world!'; // this is not really a list! | |
| 14 | + $list = 'hello, world!'; // this is not really a list! | |
| 15 | 15 | check_is_array_list($list); | 
| 16 | 16 | } | 
| 17 | 17 |  catch (TypeError $e) { | 
| @@ -11,7 +11,7 @@ | ||
| 11 | 11 | |
| 12 | 12 | // --- EXAMPLE START --- | 
| 13 | 13 | $list = [ | 
| 14 | - [ 'hello, world!'], // this is okay | |
| 14 | + ['hello, world!'], // this is okay | |
| 15 | 15 | 'hello, world!' // this is not okay | 
| 16 | 16 | ]; | 
| 17 | 17 | $isArray = check_is_array_list($list); | 
| @@ -11,7 +11,7 @@ | ||
| 11 | 11 | |
| 12 | 12 | // --- EXAMPLE START --- | 
| 13 | 13 | $list = [ | 
| 14 | - [ 'hello, world!' ] | |
| 14 | + ['hello, world!'] | |
| 15 | 15 | ]; | 
| 16 | 16 | $isArray = check_is_array_list($list); | 
| 17 | 17 | var_dump($isArray); | 
| 18 | 18 | \ No newline at end of file |