Function Minifier->getNext
Definitions
sources/jsmin.php
- Pushes the index ahead to the next instance of the supplied string. If itis found the first character of the string is returned and the index is setto it's position.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $string | string | No | No | required parameter | N/A | N/A | $string |
Returns
- Returns the first character of the string or false.
- Type: string|false
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Pushes the index ahead to the next instance of the supplied string. If itis found the first character of the string is returned and the index is setto it's position.
*
* @param string $string $string
* @return string|false Returns the first character of the string or false.
*/
protected function getNext($string)
* Pushes the index ahead to the next instance of the supplied string. If itis found the first character of the string is returned and the index is setto it's position.
*
* @param string $string $string
* @return string|false Returns the first character of the string or false.
*/
protected function getNext($string)

