mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-25 01:18:07 +02:00
21 lines
351 B
PHP
21 lines
351 B
PHP
--TEST--
|
|
MongoDB\Server::__construct()
|
|
--SKIPIF--
|
|
<?php require "tests/utils/basic-skipif.inc" ?>
|
|
--FILE--
|
|
<?php
|
|
require_once "tests/utils/basic.inc";
|
|
|
|
$server = new MongoDB\Server('localhost', 27017);
|
|
|
|
var_dump($server->getHost());
|
|
var_dump($server->getPort());
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECT--
|
|
string(9) "localhost"
|
|
int(27017)
|
|
===DONE===
|