unread
Howdy,
I was curious if it is possible to have an include work inside of a
namespace for php5, and have classes/functions/defines
that are declared in the included file become part of the namespace?
This is usefull for large library projects, where it would
be combersome for obvious reasons to have all classes/functions/defines
to exist in the same file, just to make it part of the
namespace.
namespace mylib {
include_once("my_foo_classes.php");
include_once("my_bar_classes.php");
include_once("my_blah_classes.php");
include_once("my_foo_functions.php");
}
Walt
unread
I was curious if it is possible to have an include work inside of a
namespace for php5
PHP5 does not provide namespaces (anymore).
regards dtg