Category: PHP

PHP is one of my core skills.

Posts

PHP optimization tips

Here I’ll collect PHP optimization tips, and will benchmark them when I get to it.
More»

Quickly removing empty array elements in PHP

A quick way to remove empty elements from an array is using array_filter without a callback function.
$myArray = array_filter( $myArray ); This will also remove 0s though. More»

Using filter_var to validate email addresses in PHP

As from version 5.2, PHP comes with built-in data filtering. Which makes validating emails and URL very, very easy. More»

Sub-categories

No categories below this one.