<?php
namespace Interfaces;
interface FeelingsInterface {
}
namespace \Std;
class Human {
}
class Animal {
}
class Person extends Human implements Interfaces\FeelingsInterface {
}
class Dog extends Animal implements Interfaces\FeelingsInterface {
}
$me = new Person();
$dog = new Dog();
var_dump(class_implements($me));
var_dump(class_implements($dog));
Fatal error: Uncaught Error: Undefined constant 'Interfaces\Std' in /in/qhbZU:6
Stack trace:
#0 {main}
thrown in /in/qhbZU on line 6
Process exited with code 255.