Backwards compatible to at least PHP 5.2.17