Hoping that something exists that can let a person view the includes files in a php script as if they were not included but copy-pasted in their respective locations in a script.
example:
main script:
<?php
echo "hey is my includes: ";
include_once myincludedfile.php;
?>
myincludedfile.php
<?php
echo “an included file”;
?>
So the ide would integrate them automatically to yield:
<?php
echo "hey is my includes: ";
echo “an included file”;
?>
Dreamweaver’s live view does this but the code is read only. Any non-read only alternatives?
<?php
$filename = 'myincludedfile.php';
echo "hey is my includes: " .$filename;
highlight_file( $filename );
include_once $filename;
# you could also try this
# echo file_get_contents( $filename );
?>
What I am hoping for is some software solution that would allow me to work on a php file with a lot of includes, which automatically “includes” the files into my code so I can work on it as if it were one giant PHP file. So as if I had just went to the included file and then copy pasted the file into the appropriate location in my script. So this isn’t a question about making includes work once they are processed by the server and given to the browser, but about how the includes are presented in my code editor.