<?php $cat = dir(".");while (($file = $cat->read())==! false){ echo $file.'<br>';}$cat->close();
Standard input is empty
.<br>prog.php<br>..<br>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!