<?php $variable = "this is a text"; echo $sanitizer->isEmpty($variable) ? "true" : "false";
info at phpclasses dot org