You don't need to accept $all_passed by reference in PHP5.