Removed inline parameter binding and PDO::FETCH_KEY_ASSOC. Using RegExp simply does not outweight the benefit of bindings. http://stackoverflow.com/questions/18300120/how-does-pdo-parameter-type-binding-affect-query-performance