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