003 File Manager
Current Path:
/usr/local/www/sites/shared/phpmyadmin/vendor/phpmyadmin/sql-parser/src
usr
/
local
/
www
/
sites
/
shared
/
phpmyadmin
/
vendor
/
phpmyadmin
/
sql-parser
/
src
/
📁
..
📄
Component.php
(2.12 KB)
📁
Components
📄
Context.php
(17.25 KB)
📁
Contexts
📄
Core.php
(969 B)
📁
Exceptions
📄
Lexer.php
(29.12 KB)
📄
Parser.php
(21.13 KB)
📄
Statement.php
(17.44 KB)
📁
Statements
📄
Token.php
(9.28 KB)
📄
TokensList.php
(4.4 KB)
📄
Translator.php
(1.53 KB)
📄
UtfString.php
(4.78 KB)
📁
Utils
Editing: Core.php
<?php /** * Defines the core helper infrastructure of the library. */ namespace PhpMyAdmin\SqlParser; class Core { /** * Whether errors should throw exceptions or just be stored. * * @var bool * * @see static::$errors */ public $strict = false; /** * List of errors that occurred during lexing. * * Usually, the lexing does not stop once an error occurred because that * error might be false positive or a partial result (even a bad one) * might be needed. * * @var \Exception[] * * @see Core::error() */ public $errors = array(); /** * Creates a new error log. * * @param \Exception $error the error exception * * @throws \Exception throws the exception, if strict mode is enabled */ public function error($error) { if ($this->strict) { throw $error; } $this->errors[] = $error; } }
Upload File
Create Folder