PHP – 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.
PHP Performance Tuning is a good way to waste the hours of time to get milliseconds back. XDebug is the swiss army knife of PHP performance tuning, and enables enhanced diagnostics, debugging and performance profiling for all PHP applications. This article will show you how to get set-up and start profiling your scripts with XDebug.PHP
A while back one of my websites came under a massive attack receiving an additional 1000+ hits per day, all malicious construction and all from one particular country. Since I was fast approaching my allocated bandwidth limit I had to take action to stop them accessing the site, and fast!PHP
Ellipsis are a series of three dots that indicate an intentional omission of a word, sentence or whole section from the original text being quoted. Here is a simple little function in PHP that will truncate a string after X number of characters and replace it with three dots (or whatever you specify). This is useful when showing an excerpt or a short introduction.PHP