# Return "unparsed" PHP

**URL:** <https://forum.kirupa.com/t/return-unparsed-php/304757>\
**Category:** programming\
**Created:** [February 13, 2010, 3:16am UTC](https://forum.kirupa.com/t/return-unparsed-php/304757 "2010-02-13T03:16:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IQAndreas](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Post date:** [February 13, 2010, 3:16am UTC](https://forum.kirupa.com/t/return-unparsed-php/304757/1 "2010-02-13T03:16:28Z")

</div>

I’m just sortof throwing something around in my mind and was wondering something…

Is it possible to return the exact text of a PHP page UNPARSED, meaning return the raw page as if it were a text file?

I want to do this without having to shut off PHP momentarily. The rest of the site should still work fine. I’m just wanting to implement it like this:  
_[www.mysite.com/debug/getcode.php?page=index.php](http://www.mysite.com/debug/getcode.php?page=index.php)_

Where “getcode.php” would return the exact text of index.php, without actually running anything in index.php (so include or require would not work)
