Add back ported version for PHP 5.2 non-prefixed Nette