Support for this was introduced in PHP 5.3. For versions before this, PDO and – god forbid – the mysql extension are the only options.
To quote the manual:
Unlike the mysql extension, mysqli does not provide a separate function for opening persistent connections. To open a persistent connection you must prepend p: to the hostname when connecting.