<?php error_reporting(E_ALL | E_STRICT); ini_set('display_errors', true); require_once 'MinecraftQuery.php'; require_once 'MinecraftQueryException.php'; use xPaw\MinecraftQuery; use xPaw\MinecraftQueryException; $timer = microtime(true); $query = new MinecraftQuery(); try { $query->connect('localhost', 25580, 1); } catch (MinecraftQueryException $e) { $exception = $e; } $timer = number_format(microtime(true) - $timer, 4, '.', ''); ?> <!DOCTYPE html> <html lang="fr"> <head> <meta charset="utf-8"> <title>Minecraft Query PHP Class</title> <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"> <style type="text/css"> .jumbotron { margin-top: 30px; border-radius: 0; }