--TEST-- Bug #74779 (x() and y() truncating floats to integers) --SKIPIF-- --FILE-- options(MYSQLI_OPT_INT_AND_FLOAT_NATIVE, true)) { printf("[003] [%d] %s\n", $link->errno, $link->error); } if (!$result = $link->query("SELECT ST_Y(Point(56.7, 53.34))")) { printf("[004] [%d] %s\n", $link->errno, $link->error); } if (!$array = $result->fetch_array(MYSQLI_ASSOC)) { printf("[005] [%d] %s\n", $link->errno, $link->error); } var_dump($array); mysqli_close($link); ?> --EXPECT-- array(1) { ["ST_Y(Point(56.7, 53.34))"]=> float(53.34) }