As you can see at the function doc:
mysqli_connect ([
string $host = ini_get("mysqli.default_host")
[, string $username = ini_get("mysqli.default_user")
[, string $passwd = ini_get("mysqli.default_pw")
[, string $dbname = ""
[, int $port = ini_get("mysqli.default_port")
[, string $socket = ini_get("mysqli.default_socket") ]]]]]]
) : mysqli|false
And the default for the $passwd argument is the result of ini_get() with a non-existent parameter:
Function ini_get():
Returns
Returns the value of the configuration option as a string on success, or an empty string for null values. Returns FALSE if the configuration option doesn't exist.
So try that:
$pasw = false;
// or
$con = mysqli_connect($dbser, $user);