Programmer Question
Alright so I've already created a PHP bug about this but it was marked as bogus, but I can't help but to believe they didn't read it carefully...
The error is caused by using an include()
statement in an IF
statement, making the statement believe it's been passed an empty string.
Reviewing the bug will explain everything, including a test script.
Is it a bug, or am I missing something "feature"-wise? This is weird seeing as how assigning the output of include
to a variable and then testing that value works just fine (which would be the workaround).
Any insight?
Find the answer here
No comments:
Post a Comment