if $filename has a relative path file_get_contents returns the uninterpreted sourcecode of the php-file with all comments etc.I do not know whether this is a bug or intented or caused by server-configuration.I think this behaviour should be included in the description of the function.