PHP 5.2: Use create_function instead of closure