<?php foreach (array(5, 63, 66, 96) as $num) { printf("%d: %s\n" , $num, base_convert($num, 10, 5));}
Standard input is empty
5: 10 63: 223 66: 231 96: 341
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!