* @param array $bindings * @param bool $useReadPdo * @return array */ public function select($query, $bindings = [], $useReadPdo = true) { return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) { if ($this->pretending()) { return []; } // For select statements, we'll simply execute the query and return an array // of the database result set. Each element in the array will be a single // row from the database table, and will either be an array or objects. $statement = $this->prepared($this->getPdoForSelect($useReadPdo) ->prepare($query)); $this->bindValues($statement, $this->prepareBindings($bindings)); $statement->execute(); return $statement->fetchAll(); }); } /** * Run a select statement against the database and returns a generator. * * @param string $query * @param array $bindings * @param bool $useReadPdo * @return \Generator */ public function cursor($query, $bindings = [], $useReadPdo = true) { $statement = $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) { if ($this->pretending()) { return []; }
"Allowed memory size of 134217728 bytes exhausted (tried to allocate 4312705 bytes)"
Key | Value |
PATH | "/usr/local/bin:/bin:/usr/bin"
|
HTTP_ACCEPT | "*/*"
|
HTTP_HOST | "wedushare.onesolution.digital"
|
HTTP_USER_AGENT | "claudebot"
|
DOCUMENT_ROOT | "/home/qyazrzdz/wedushare.onesolution.digital/public"
|
REMOTE_ADDR | "44.211.239.181"
|
REMOTE_PORT | "34248"
|
SERVER_ADDR | "149.28.147.199"
|
SERVER_NAME | "wedushare.onesolution.digital"
|
SERVER_ADMIN | "webmaster@wedushare.onesolution.digital"
|
SERVER_PORT | "80"
|
REQUEST_SCHEME | "http"
|
REQUEST_URI | "/article/73/%E1%9E%A2%E1%9F%92%E1%9E%9C%E1%9E%B8%E1%9E%91%E1%9F%85%E1%9E%87%E1%9E%B6%E1%9E%98%E1%9E%BB%E1%9E%81%E1%9E%87%E1%9F%86%E1%9E%93%E1%9E%B6%E1%9E%89%E1%9E%97%E1%9E%B6%E1%9E%9F%E1%9E%B6%E1%9E%87%E1%9E%94%E1%9F%89%E1%9E%BB%E1%9E%93"
|
REDIRECT_URL | "/article/73/អ្វីទៅជាមុខជំនាញភាសាជប៉ុន"
|
REDIRECT_REQUEST_METHOD | "GET"
|
REDIRECT_STATUS | "200"
|
SCRIPT_FILENAME | "/home/qyazrzdz/wedushare.onesolution.digital/public/index.php"
|
QUERY_STRING | "" |
SCRIPT_URI | "http://wedushare.onesolution.digital/article/73/អ្វីទៅជាមុខជំនាញភាសាជប៉ុន"
|
SCRIPT_URL | "/article/73/អ្វីទៅជាមុខជំនាញភាសាជប៉ុន"
|
SCRIPT_NAME | "/index.php"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
SERVER_SOFTWARE | "LiteSpeed"
|
REQUEST_METHOD | "GET"
|
X-LSCACHE | "on"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1711690242.5897
|
REQUEST_TIME | 1711690242
|
argv | [] |
argc | 0
|