Sorry about that,
Whenever I call the parse() function with the || die("") condition, die() is called and the script terminates, so I
assumed that I had somehow made an error in using the function. I apologize if this is too ambiguous, but I don't know how to explain it any better.