<?php
interface FileLoader
{
public function __construct();
public function load($file);
}
class YamlLoader implements FileLoaders
{
public function load($file)
{
return yaml_parse_file($file);
}
}
Fatal error: Uncaught Error: Interface "FileLoaders" not found in /in/CbDsv:8
Stack trace:
#0 {main}
thrown in /in/CbDsv on line 8
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Fatal error: Uncaught Error: Interface 'FileLoaders' not found in /in/CbDsv:8
Stack trace:
#0 {main}
thrown in /in/CbDsv on line 8
Process exited with code 255.