Got working in PHP 5.3