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();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oZ8HH
function name:  (null)
number of ops:  5
compiled vars:  !0 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   DECLARE_CLASS                                            'c'
   28     1        NEW                                              $1      'C'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
          4      > RETURN                                                   1

Class SqlEntityStorageInterface:
Function gettablemapping:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oZ8HH
function name:  getTableMapping
number of ops:  3
compiled vars:  !0 = $storage_definitions, !1 = $entity_type
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   RECV_INIT                                        !0      null
          1        RECV_INIT                                        !1      null
          2      > RETURN                                                   null

End of function gettablemapping

End of class SqlEntityStorageInterface.

Class C:
Function gettablemapping:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oZ8HH
function name:  getTableMapping
number of ops:  2
compiled vars:  !0 = $storage_definitions
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   RECV_INIT                                        !0      null
   25     1      > RETURN                                                   null

End of function gettablemapping

End of class C.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.49 ms | 996 KiB | 13 Q