<?php
namespace Test {
class First extends Zero {}
class Second {
public function getMessage() {
return 'Message from Second Class';
}
}
abstract class Zero implements TestInterface {
public function __construct() {
// Using a second class
$second = new Second;
print $second -> getMessage();
}
}
interface TestInterface {}
}
?>