// generic framework for reading configuration files class configReader { function __construct( $file ) { $configFile = $file; $this->parse(); } function parse() { echo $this->configFile; } }