Possible Duplicate:
close mysql connection important?
in the php manual, there say : Using mysql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution. does it mean that we actually don't need to colse the php connect in a script?
so the code below
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
?>
will be more performanece than the below code?
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
mysql_close($link);
?>