Basically, I need to view the PHP code of a file, after includes. I am trying to see EXACTLY what PHP code is run. eg…
<?php // a.php
$a = 10;
?>
<?php // b.php
include('a.php');
$b = 20;
?>
If I was trying to get the code of b.php, it would display the following:
<?php
$a = 10;
$b = 20;
?>
Is that possible? If so, how?
Though I don’t know why you’d want to do this.