1--TEST--
2mysqli_get_server_version
3--EXTENSIONS--
4mysqli
5--SKIPIF--
6<?php
7require_once dirname(__DIR__) . "/test_setup/test_helpers.inc";
8mysqli_check_skip_test();
9?>
10--FILE--
11<?php
12require_once dirname(__DIR__) . "/test_setup/test_helpers.inc";
13
14    $link = default_mysqli_connect();
15
16    $i = mysqli_get_server_version($link);
17
18    $test = $i / $i;
19
20    var_dump($test);
21
22    mysqli_close($link);
23    print "done!";
24?>
25--EXPECT--
26int(1)
27done!
28