We performed a multicenter , randomized , placebo-controlled , double-blind , phase 3 trial to evaluate the efficacy and safety of prucalopride in children ( 6 months to 18 years old ) with functional constipation .