예제 #1
0
 /// <summary>
 /// Closes a previously opened database connection.
 /// </summary>
 public static bool mysqli_close(mysqli link)
 {
     if (link != null)
     {
         return(link.close());
     }
     else
     {
         PhpException.ArgumentNull(nameof(link));
         return(false);
     }
 }
예제 #2
0
 /// <summary>
 /// Closes a previously opened database connection.
 /// </summary>
 public static bool mysqli_close(mysqli link) => link.close();