PHP TutorialsPHP - the server-side programming language powering over 80% of the web - is now at version 7.1. As an interpreted (as opposed to compiled) language, PHP code is executed in run-time meaning there is no slow compilation step - changes you make in the code are visible instantly, and it is this quick feedback loop that allows for PHP's speed of use. If you're just getting started with PHP, here are some introductory materials to get you up to speed.
Are you considering migrating your website from PHP 7 to PHP 8? This comprehensive guide covers everything you need to know to ensure a smooth transition.
The Nullsafe Operator in PHP 8 is a game changer in error management. Learn how to use this powerful feature to improve the error handling capabilities of your PHP code.
Looking to level up your PHP coding? Dive into this comprehensive guide on PHP 8 Union Types and unlock new possibilities in your code.
PHP 8 is revolutionizing web development with its powerful features and improved performance. Discover how it outshines previous versions in this comprehensive comparison.
How to improve website speed, performance and loading times by enabling output compression, either in Apache or via a PHP script.
Import CSV to an array using PHP's fgetcsv function. The array is associative so you can access values by the column heading.
XDebug is the swiss army knife of PHP performance tuning and enables diagnostics, debugging and performance profiling for PHP applications.
This example is a common way to overlay png watermarks and stamps to photos and copyrighted images using PHP using GD library and imagecopy.
Recursively delete all files and folders from a given path and can be used anywhere you wish to delete directory recursively.
In programming languages its easy to loop between two numbers or run a foreach over items in array, but what about a loop between two dates?