Tuesday, 4 September 2012

<?php $x=dir("."); while($y=$x->read()) { echo $y." " } $y->close(); ?> What is the following output? | PHP

A. display all folder names
B. display a folder content
C. display content of the all drives
D. Parse error

Ans: B


No comments: