Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.15.10.50
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
doctrine /
dbal /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
ArrayParameters
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Cache
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Connections
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Driver
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Event
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Exception
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Id
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Logging
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Platforms
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Portability
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Query
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
SQL
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Schema
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Tools
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Types
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
ColumnCase.php
429
B
-rw-rw-r--
2022-08-21 14:21
Configuration.php
6.09
KB
-rw-rw-r--
2022-08-21 14:21
Connection.php
58.91
KB
-rw-rw-r--
2022-08-21 14:21
ConnectionException.php
969
B
-rw-rw-r--
2022-08-21 14:21
Driver.php
1.43
KB
-rw-rw-r--
2022-08-21 14:21
DriverManager.php
14.99
KB
-rw-rw-r--
2022-08-21 14:21
Events.php
1.32
KB
-rw-rw-r--
2022-08-21 14:21
Exception.php
4.91
KB
-rw-rw-r--
2022-08-21 14:21
ExpandArrayParameters.php
3.72
KB
-rw-rw-r--
2022-08-21 14:21
FetchMode.php
331
B
-rw-rw-r--
2022-08-21 14:21
LockMode.php
419
B
-rw-rw-r--
2022-08-21 14:21
ParameterType.php
982
B
-rw-rw-r--
2022-08-21 14:21
Query.php
1.19
KB
-rw-rw-r--
2022-08-21 14:21
Result.php
7.9
KB
-rw-rw-r--
2022-08-21 14:21
Statement.php
7.45
KB
-rw-rw-r--
2022-08-21 14:21
TransactionIsolationLevel.php
613
B
-rw-rw-r--
2022-08-21 14:21
VersionAwarePlatformDriver.php
1.02
KB
-rw-rw-r--
2022-08-21 14:21
Save
Rename
<?php namespace Doctrine\DBAL; use Doctrine\DBAL\Platforms\AbstractPlatform; use Doctrine\DBAL\Types\Type; use Doctrine\Deprecations\Deprecation; use function func_num_args; use function is_string; /** * A database abstraction-level statement that implements support for logging, DBAL mapping types, etc. */ class Statement { /** * The SQL statement. * * @var string */ protected $sql; /** * The bound parameters. * * @var mixed[] */ protected $params = []; /** * The parameter types. * * @var int[]|string[] */ protected $types = []; /** * The underlying driver statement. * * @var Driver\Statement */ protected $stmt; /** * The underlying database platform. * * @var AbstractPlatform */ protected $platform; /** * The connection this statement is bound to and executed on. * * @var Connection */ protected $conn; /** * Creates a new <tt>Statement</tt> for the given SQL and <tt>Connection</tt>. * * @internal The statement can be only instantiated by {@see Connection}. * * @param Connection $conn The connection for handling statement errors. * @param Driver\Statement $statement The underlying driver-level statement. * @param string $sql The SQL of the statement. * * @throws Exception */ public function __construct(Connection $conn, Driver\Statement $statement, string $sql) { $this->conn = $conn; $this->stmt = $statement; $this->sql = $sql; $this->platform = $conn->getDatabasePlatform(); } /** * Binds a parameter value to the statement. * * The value can optionally be bound with a DBAL mapping type. * If bound with a DBAL mapping type, the binding type is derived from the mapping * type and the value undergoes the conversion routines of the mapping type before * being bound. * * @param string|int $param The name or position of the parameter. * @param mixed $value The value of the parameter. * @param mixed $type Either a PDO binding type or a DBAL mapping type name or instance. * * @return bool TRUE on success, FALSE on failure. * * @throws Exception */ public function bindValue($param, $value, $type = ParameterType::STRING) { $this->params[$param] = $value; $this->types[$param] = $type; $bindingType = ParameterType::STRING; if ($type !== null) { if (is_string($type)) { $type = Type::getType($type); } $bindingType = $type; if ($type instanceof Type) { $value = $type->convertToDatabaseValue($value, $this->platform); $bindingType = $type->getBindingType(); } } try { return $this->stmt->bindValue($param, $value, $bindingType); } catch (Driver\Exception $e) { throw $this->conn->convertException($e); } } /** * Binds a parameter to a value by reference. * * Binding a parameter by reference does not support DBAL mapping types. * * @deprecated Use {@see bindValue()} instead. * * @param string|int $param The name or position of the parameter. * @param mixed $variable The reference to the variable to bind. * @param int $type The binding type. * @param int|null $length Must be specified when using an OUT bind * so that PHP allocates enough memory to hold the returned value. * * @return bool TRUE on success, FALSE on failure. * * @throws Exception */ public function bindParam($param, &$variable, $type = ParameterType::STRING, $length = null) { Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/5563', '%s is deprecated. Use bindValue() instead.', __METHOD__ ); $this->params[$param] = $variable; $this->types[$param] = $type; try { if (func_num_args() > 3) { return $this->stmt->bindParam($param, $variable, $type, $length); } return $this->stmt->bindParam($param, $variable, $type); } catch (Driver\Exception $e) { throw $this->conn->convertException($e); } } /** * Executes the statement with the currently bound parameters. * * @deprecated Statement::execute() is deprecated, use Statement::executeQuery() or executeStatement() instead * * @param mixed[]|null $params * * @throws Exception */ public function execute($params = null): Result { Deprecation::triggerIfCalledFromOutside( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/4580', 'Statement::execute() is deprecated, use Statement::executeQuery() or Statement::executeStatement() instead' ); if ($params !== null) { $this->params = $params; } $logger = $this->conn->getConfiguration()->getSQLLogger(); if ($logger !== null) { $logger->startQuery($this->sql, $this->params, $this->types); } try { return new Result( $this->stmt->execute($params), $this->conn ); } catch (Driver\Exception $ex) { throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types); } finally { if ($logger !== null) { $logger->stopQuery(); } } } /** * Executes the statement with the currently bound parameters and return result. * * @param mixed[] $params * * @throws Exception */ public function executeQuery(array $params = []): Result { if (func_num_args() > 0) { Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/5556', 'Passing $params to Statement::executeQuery() is deprecated. Bind parameters using' . ' Statement::bindParam() or Statement::bindValue() instead.' ); } if ($params === []) { $params = null; // Workaround as long execute() exists and used internally. } return $this->execute($params); } /** * Executes the statement with the currently bound parameters and return affected rows. * * @param mixed[] $params * * @throws Exception */ public function executeStatement(array $params = []): int { if (func_num_args() > 0) { Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/5556', 'Passing $params to Statement::executeStatement() is deprecated. Bind parameters using' . ' Statement::bindParam() or Statement::bindValue() instead.' ); } if ($params === []) { $params = null; // Workaround as long execute() exists and used internally. } return $this->execute($params)->rowCount(); } /** * Gets the wrapped driver statement. * * @return Driver\Statement */ public function getWrappedStatement() { return $this->stmt; } }