PHP 4, PHP 5, PHP 7, PHP 8
imagefontheight - Get font height
Code Examples

Example #1 Using imagefontheight on built-in fonts

Result: Font height: 16
PHP Version:

Example #2 Using imagefontheight together with imageloadfont

Result: Font height: 43
PHP Version:

Function imagefontheight:

Image Processing and GD Functions

Most used PHP functions