Function Database_Static_xml->_parsing_check_ended
Definitions
sources/database/xml.php
- Check we've consumed all our tokens.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$at | integer | No | No | required parameter | N/A | N/A | Our offset counter |
$tokens | array | No | No | required parameter | N/A | N/A | Tokens |
$query | string | No | No | required parameter | N/A | N/A | Query that was executed |
$fail_ok | boolean | No | No | False | N/A | N/A | Whether to not output an error on some kind of run-time failure (parse errors and clear programming errors are always fatal) |
Returns
- Success status
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Check we've consumed all our tokens.
*
* @param integer $at Our offset counter
* @param array $tokens Tokens
* @param string $query Query that was executed
* @param boolean $fail_ok Whether to not output an error on some kind of run-time failure (parse errors and clear programming errors are always fatal)
* @return boolean Success status
*/
protected function _parsing_check_ended(int $at, array $tokens, string $query, bool $fail_ok = false) : bool
* Check we've consumed all our tokens.
*
* @param integer $at Our offset counter
* @param array $tokens Tokens
* @param string $query Query that was executed
* @param boolean $fail_ok Whether to not output an error on some kind of run-time failure (parse errors and clear programming errors are always fatal)
* @return boolean Success status
*/
protected function _parsing_check_ended(int $at, array $tokens, string $query, bool $fail_ok = false) : bool