diff --git a/src/Ratchet/App.php b/src/Ratchet/App.php index 5cb4ae7..0b151b0 100644 --- a/src/Ratchet/App.php +++ b/src/Ratchet/App.php @@ -56,7 +56,7 @@ class App { */ public function __construct($httpHost = 'localhost', $port = 8080, $address = '127.0.0.1', LoopInterface $loop = null) { if (extension_loaded('xdebug')) { - echo "XDebug extension detected. Remember to disable this if performance testing or going live!\n"; + trigger_error("XDebug extension detected. Remember to disable this if performance testing or going live!", E_USER_WARNING); } if (null === $loop) {