3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace Sellercenter\Modules\Cli\Services\SyncAgent\Task { interface DataWriterInterface {} class DataWriterAbstract implements DataWriterInterface {} interface PostProcessorInterface { public function process(DataWriterInterface $dataWriter); } } namespace Sellercenter\Modules\Cli\Services\SyncAgent\Task\Catalog\Categories { use Sellercenter\Modules\Cli\Services\SyncAgent\Task\DataWriterAbstract; class DataWriter extends DataWriterAbstract {} } namespace Sellercenter\Modules\Cli\Services\SyncAgent\Task\Catalog\Categories\PostProcessor { use Sellercenter\Modules\Cli\Services\SyncAgent\Task\DataWriterInterface; use Sellercenter\Modules\Cli\Services\SyncAgent\Task\PostProcessorInterface; use Sellercenter\Modules\Cli\Services\SyncAgent\Task\DataWriterAbstract; class UpdatePostProcessor implements PostProcessorInterface { public function process(DataWriter $dataWriter) { } } }
based on Lnick
Output for 7.0.0 - 7.2.0
Fatal error: Declaration of Sellercenter\Modules\Cli\Services\SyncAgent\Task\Catalog\Categories\PostProcessor\UpdatePostProcessor::process(Sellercenter\Modules\Cli\Services\SyncAgent\Task\Catalog\Categories\PostProcessor\DataWriter $dataWriter) must be compatible with Sellercenter\Modules\Cli\Services\SyncAgent\Task\PostProcessorInterface::process(Sellercenter\Modules\Cli\Services\SyncAgent\Task\DataWriterInterface $dataWriter) in /in/SZEd6 on line 25
Process exited with code 255.
Output for 5.4.8 - 5.6.28
Fatal error: Declaration of Sellercenter\Modules\Cli\Services\SyncAgent\Task\Catalog\Categories\PostProcessor\UpdatePostProcessor::process() must be compatible with Sellercenter\Modules\Cli\Services\SyncAgent\Task\PostProcessorInterface::process(Sellercenter\Modules\Cli\Services\SyncAgent\Task\DataWriterInterface $dataWriter) in /in/SZEd6 on line 25
Process exited with code 255.
Output for 5.3.18 - 5.3.29
Fatal error: Declaration of Sellercenter\Modules\Cli\Services\SyncAgent\Task\Catalog\Categories\PostProcessor\UpdatePostProcessor::process() must be compatible with that of Sellercenter\Modules\Cli\Services\SyncAgent\Task\PostProcessorInterface::process() in /in/SZEd6 on line 25
Process exited with code 255.