<?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: Interface "Std\Interfaces\FeelingsInterface" not found in /in/LpDFO:11
Stack trace:
#0 {main}
thrown in /in/LpDFO on line 11
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Fatal error: Uncaught Error: Interface 'Std\Interfaces\FeelingsInterface' not found in /in/LpDFO:11
Stack trace:
#0 {main}
thrown in /in/LpDFO on line 11
Process exited with code 255.