Простые типы / Строки

<?php

//Empty strings
$someEmptyString = "";
$anotherEmptyString = "";

if ($someEmptyString == '') {
    echo "string is empty\n";
}

if (empty($someEmptyString)) {
    echo "another string is empty";
}