Alright, I develop my own cool framework based off of some tutorials and I am very excited about it
So I start re-doing my website using my framework, I mean what better way to test it than to use my own website as a guinea pig?
The display side of the framework works by using a page object with a "content" method to grab a template page with comment blocks that are used to put content where it needs to go using Regex. The regex recognizes the comment blocks and replaces them with html content that is located in separated files.
One such file which is longer than the rest seems to break my code in a odd way
Without last Paragraph: 3.0 KB
with last paragraph : 3.5 KB
So its not like I'm processing MB of info and its overloading!
Before I continue why dont I actually tell you what the error message was!
It was nothing
I got a veritable white screen of death in PHP
Thats why I turned to a forum on this one. I really, really cant figure out why this does not want to work. The reason I cant figure it out is because PHP is giving me nothing to go on! I love PHP for its descriptive error messages, and I even use XDebug to enhance them, which is great, but this time PHP has left me out in the cold!
To make things more bizarre, it is not even giving me the ability to print things BEFORE the code runs! I tried to write something in before the <?php ?> that runs my framework, and it gave me nothing! That means PHP did not just have an error... it crashed and gave me truly no output at all
and I ran memory tests for peak memory usage without the final paragraph and they are no where close to causeing an issue, not even totaling a third of a megabyte
help me! Why would this crash if its not even approaching memory issues!