Hi,
Is it possible to use include() or require() from inside a php4 class?
I've got a ton of functions in one class, and i'd like to put some of them in their own php file for ease of editing, etc.
Problem is, when i do this, it gives me:
Parse error: parse error, expecting T_OLD_FUNCTION' orT_FUNCTION' or T_VAR' or'}''
on the line which reads: require("file.inc");
Same error if I use include instead of require.
If i move the require line so its ABOVE the class definition, it works fine. (but of course the function isn't part of that class)