public function Native::substr in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-stdlib/src/StringWrapper/Native.php \Zend\Stdlib\StringWrapper\Native::substr()
Returns the portion of string specified by the start and length parameters
Parameters
string $str:
int $offset:
int|null $length:
Return value
string|false
Overrides StringWrapperInterface::substr
File
- vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ Native.php, line 117
Class
Namespace
Zend\Stdlib\StringWrapperCode
public function substr($str, $offset = 0, $length = null) {
return substr($str, $offset, $length);
}