Relaxed compatibility to PHP 5.4