Location: PHPKode > scripts > Ladybug > raulfraile-Ladybug-92763a0/lib/Ladybug/Extension/Resource/MysqlLink.php
<?php
/*
 * Ladybug: Simple and Extensible PHP Dumper
 * 
 * Mysql/Link dumper
 *
 * (c) Raúl Fraile Beneyto <hide@address.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Ladybug\Extension\Resource;

use Ladybug\Dumper;
use Ladybug\Extension\ExtensionBase;

class MysqlLink extends ExtensionBase {
    
    
    public function dump($var) {
        $result = array(
            'host_info' => mysql_get_host_info($var),
            'MySQL_protocol_version' => mysql_get_proto_info($var),
            'MySQL_server_version' => mysql_get_server_info($var),
        );
        
        return $result;
    }
}
Return current item: Ladybug