The mysqli_fetch_lengths() function returns an array of numbers, where each number represents the
length (number of characters) of each field in the last fetched row.
Practical use: Instead of writing long code to count characters, this function instantly tells us the content length. Look at the example below, where we print the fruit name and its length: