<?php class PDOx extends PDO { public function query(...$args) { if (count($args) !== 2) { return parent::query(...$args); } if (is_object($args[1])) { $args[1] = (array)$args[1]; } if (!is_array($args[1])) { return parent::query($args[0], $args[1]); } $stmt = self::prepare($args[0]); $stmt->execute($args[1]); return $stmt; } }
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`