PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

How to handle safely PHP error: __toString() must not throw an exception
Learn how to solve the "__toString() must not throw an exception" error in PHP.
How the PHP functions "func_get_arg" and "func_get_args" changed from PHP 5.x to PHP 7.x
Learn why your current code that uses the func_get_arg function may end up with different results when upgrading from PHP 5.x to 7.x
How to implement custom fonts in TCPDF
Learn how to use custom fonts for your PDF using the PHP TCPDF library.
What is the PHP Year 2038 (Y2K38) bug and how to solve it
Learn more about the Year 2038 Bug and know how to check if your PHP code is susceptible to it.
How to add a watermark on a PDF using TCPDF
Learn how to override the default behaviour of TCPDF to add your own watermark.
How to calculate a percentage change (increase and decrease) from 2 values in PHP
Learn how to calculate a positive and negative percentage change between 2 numbers in PHP easily.
How to prevent XSS attacks and disallow specific tags in HTML generated by a PHP Markdown parser
Learn how to prevent XSS attacks and remove disallowed html nodes from the parsed markdown using a markdown parser library in PHP like Parsedown.
How to check if an image has transparency using Imagick in PHP
Learn how to verify if an image has transparency with Imagick in PHP.
How to differentiate (compare) 2 images with Imagick in PHP
Learn how to differentiate 2 images using Imagick with PHP.
How to add a Watermark to an image with Imagick in PHP
Learn how to add a watermark to your images using Imagick on PHP.