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\Catalog\Categories\DataWriter; use Sellercenter\Modules\Cli\Services\SyncAgent\Task\PostProcessorInterface; class UpdatePostProcessor implements PostProcessorInterface { public function process(DataWriter $dataWriter) {} } }
based on UsdMS
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\DataWriter $dataWriter) must be compatible with Sellercenter\Modules\Cli\Services\SyncAgent\Task\PostProcessorInterface::process(Sellercenter\Modules\Cli\Services\SyncAgent\Task\DataWriterInterface $dataWriter) in /in/mXvZV on line 26
Process exited with code 255.
Output for 5.4.2 - 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/mXvZV on line 26
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/mXvZV on line 26
Process exited with code 255.