3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * A common interface for SQL-based entity storage implementations. */ interface SqlEntityStorageInterface { /** * Gets a table mapping for the entity's SQL tables. * * @param \Drupal\Core\Field\FieldStorageDefinitionInterface[] $storage_definitions * (optional) An array of field storage definitions to be used to compute * the table mapping. Defaults to the ones provided by the entity manager. * * @return \Drupal\Core\Entity\Sql\TableMappingInterface * A table mapping object for the entity's tables. */ public function getTableMapping(array $storage_definitions = NULL, $entity_type = NULL); } class C implements SqlEntityStorageInterface { public function getTableMapping(array $storage_definitions = NULL) { } } $c = new C();
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Declaration of C::getTableMapping(?array $storage_definitions = null) must be compatible with SqlEntityStorageInterface::getTableMapping(?array $storage_definitions = null, $entity_type = null) in /in/oZ8HH on line 23
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
130.75 ms | 405 KiB | 5 Q