public function advancedStringOverridesLangcode::offsetExists in String Overrides Advanced 7
(PHP 5 >= 5.0.0)<br/> Whether a offset exists @link http://php.net/manual/en/arrayaccess.offsetexists.php
Parameters
mixed $offset <p>: An offset to check for. </p>
Return value
boolean true on success or false on failure. </p> <p> The return value will be casted to boolean if non-boolean was returned.
File
- lib/
advancedStrings.inc, line 32
Class
Code
public function offsetExists($offset) {
// We spin up contexts on the fly, so they always exist.
return is_scalar($offset);
}