<?php/** * Simple example of use of the File wrapper class. */include_once 'class.File.php' ;function process( $theFile){ while ($line = $theFile->gets()) { echo $line ; } return 'Processed: ' . $theFile->getName() ;}$a = new File('license.txt', 'r', 'process') ;echo $a->getStatus() ;?>