Get your own PHP server Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<?php
$str = "";
if(empty($str)) {
  echo "The string is empty";
}
?>
</body>
</html>
The string is empty