Nie to mi chodziło

Chodziło mi o coś takiego:
<?php
/*
mysqli.so-OOP-Hack v0.1
Use MySQLi Object oriented style as installed MySQLi module on server or local.
Copyright (C) 2008, Barış Yüksel { brsyuksel.com }
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class mysqli{
public $num_rows,$lengths,$error,$errno,$insert_id,$thread_id;
private $mysql,$result;
const MYSQLI_BOTH = 'MYSQL_BOTH';
const MYSQLI_NUM = 'MYSQL_NUM';
const MYSQLI_ASSOC = 'MYSQL_ASSOC';
public function __construct($host,$username,$pass,$dbname){
try{
if (!$this->mysql){
}
else{
}
}
catch(Exception $error){
echo $error->getMessage(); }
}
protected function refresh_properties(){
}
public function query($query){
self::refresh_properties();
return $this;
}
public function select_db($dbname){
self::refresh_properties();
return $event;
}
public function fetch_assoc(){
}
public function fetch_array($flag = MYSQLI_BOTH){
}
public function fetch_row(){
}
public function fetch_object(){
}
}
}
}
public function fetch_field(){
}
public function data_seek($data_seek){
}
public function field_seek($field_seek){
}
public function free_result(){
}
public static function get_client_info
(){ }
public function ping(){
return mysql_ping($this->mysql);
}
public function change_user($username,$pass,$dbname){
return mysql_change_user($username,$pass,$dbname,$this->mysql);
}
public function real_escape_string($escapestr){
}
public function escape_string($escapestr){
}
public function set_charset($charset){
return mysql_set_charset($charset,$this->mysql);
}
}
public function close(){
}
}
?>
Jak pisałem tego posta i użyłem słowa 'emulować' to wpadłem na pomysł jak szukać tej piekielnej klasy

Właśnie ją testuje, ale wygląda obiecująco.