escape $second + update PHPDoc