handle($request); }); $address = "127.0.0.1:8000"; $socket = new SocketServer($address); $http->listen($socket); echo "Server running at $address" . PHP_EOL;