public function isUpdateQuery($query) { return !preg_match('/^[\\s\\n\\r\\t(]*(select|show|describe)[\\s\\n\\r\\t(]+/i', $query); }