What is the equivalent of C#'s using Name.Space;
statement to make all classes of that namespace available in the current file? Is this even possible with PHP?
What I'd like (but does not work):
<?php
# myclass.php
namespace Namespace;
class myclass {
}
?>
<?php
# main.php
include 'myclass.php'
use Namespace;
new myclass();
?>