<?php namespace food { class Cat { function says() { echo 'Cat'; } } } ?> <?php namespace good { class Rat { function says() { echo 'Rat'; } } } ?> <?php use food as foo; $objs=new foo\Cat(); ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)