Public Member Functions | |
| __construct ($delim, $s) | |
| Construct a DelimIterator. | |
| rewind () | |
| refreshCurrent () | |
| current () | |
| key () | |
| next () | |
| valid () | |
Public Attributes | |
| $subject | |
| $subjectLength | |
| $delim | |
| $delimLength | |
| $curPos | |
| $endPos | |
| $current | |
foreach ( explode( $delim, $s ) as $element ) { ... }
Except it doesn't use 193 byte per element
Definition at line 335 of file StringUtils.php.
| ExplodeIterator::__construct | ( | $ | delim, | |
| $ | s | |||
| ) |
| ExplodeIterator::current | ( | ) |
| ExplodeIterator::key | ( | ) |
Definition at line 388 of file StringUtils.php.
| ExplodeIterator::next | ( | ) |
| ExplodeIterator::refreshCurrent | ( | ) |
| ExplodeIterator::rewind | ( | ) |
Definition at line 365 of file StringUtils.php.
References refreshCurrent().
Referenced by __construct().
| ExplodeIterator::valid | ( | ) |
Definition at line 407 of file StringUtils.php.
| ExplodeIterator::$curPos |
Definition at line 343 of file StringUtils.php.
| ExplodeIterator::$current |
Definition at line 349 of file StringUtils.php.
| ExplodeIterator::$delim |
| ExplodeIterator::$delimLength |
Definition at line 340 of file StringUtils.php.
| ExplodeIterator::$endPos |
Definition at line 346 of file StringUtils.php.
| ExplodeIterator::$subject |
Definition at line 337 of file StringUtils.php.
| ExplodeIterator::$subjectLength |
Definition at line 337 of file StringUtils.php.
1.5.9