Check if a String is Empty in PHP

This tutorial will discuss about unique ways to check if a string is empty in php. Table Of Contents Method 1: Using empty() Method 2: Using strlen() Summary Method 1: Using empty() PHP Provides a function empty(), which accepts a string value as an argument, and return true if that string is empty. But before […]

Check if a String is Empty in PHP Read More »