mirror of
https://github.com/php/php-src.git
synced 2024-10-05 08:46:11 +00:00
21 lines
244 B
PHP
21 lines
244 B
PHP
--TEST--
|
|
TextIterator::getAll(): Simple test
|
|
--FILE--
|
|
<?php
|
|
|
|
$x = new textiterator('asda');
|
|
var_dump($x->getAll());
|
|
|
|
?>
|
|
--EXPECT--
|
|
array(4) {
|
|
[0]=>
|
|
unicode(1) "a"
|
|
[1]=>
|
|
unicode(1) "s"
|
|
[2]=>
|
|
unicode(1) "d"
|
|
[3]=>
|
|
unicode(1) "a"
|
|
}
|