<?php
namespace Something {
interface Hello
{
public function hello(\SomethingDifferent\World $world);
}
}
namespace Hell {
use Something\Hello;
use SomethingDifferent\World;
class HelloWorld implements Hello
{
public function hello(World $world)
{
}
}
$hell = new HelloWorld();
$hell->hello(new SomethingDifferent\World());
}
Fatal error: Uncaught Error: Class "Hell\SomethingDifferent\World" not found in /in/js944:21
Stack trace:
#0 {main}
thrown in /in/js944 on line 21
Process exited with code 255.
Fatal error: Uncaught Error: Class 'Hell\SomethingDifferent\World' not found in /in/js944:21
Stack trace:
#0 {main}
thrown in /in/js944 on line 21
Process exited with code 255.