Is there a way to print full php (in php) code after includes and requires?
For example I have 3 files.
File basic.php
<?php echo 2; include 'basic2.php'; ?>
File basic2.php
<?php echo 3; ?>
and the main file main_file.php
<?php echo 1; include 'basic.php'; echo 4; ?>
I would like to get the full code that would be about to be compiled, the result would be something like this:
<?php echo 1; ?><?php echo 2; ?><?php echo 3; ?><?php echo 4; ?>
Is that possible?