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();

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.130.0150.00517.80
8.4.120.0100.00623.86
8.4.110.0110.01017.91
8.4.100.0160.00518.64
8.4.90.0080.00518.80
8.4.80.0090.00720.48
8.4.70.0110.00417.95
8.4.60.0120.00818.93
8.4.50.0120.00718.59
8.4.40.0130.00717.95
8.4.30.0160.00319.30
8.4.20.0130.00717.89
8.4.10.0060.00317.74
8.3.260.0110.00916.52
8.3.250.0060.00218.92
8.3.240.0040.00716.98
8.3.230.0120.00816.76
8.3.220.0110.00818.93
8.3.210.0120.00816.91
8.3.200.0050.00416.41
8.3.190.0090.01017.09
8.3.180.0090.00817.05
8.3.170.0060.00319.06
8.3.160.0120.00318.46
8.3.150.0100.01017.22
8.3.140.0140.00016.61
8.3.130.0000.00816.63
8.3.120.0060.00320.73
8.3.110.0030.00520.94
8.3.100.0060.00324.06
8.3.90.0110.00426.77
8.3.80.0060.00318.56
8.3.70.0100.00716.88
8.3.60.0000.01518.64
8.3.50.0080.01318.19
8.3.40.0040.01118.53
8.3.30.0090.00618.45
8.3.20.0000.00818.98
8.3.10.0040.00420.65
8.3.00.0050.00223.70
8.2.290.0110.00820.14
8.2.280.0110.00417.96
8.2.270.0110.00716.99
8.2.260.0040.00416.62
8.2.250.0080.00018.21
8.2.240.0080.00818.59
8.2.230.0080.00022.58
8.2.220.0000.00937.54
8.2.210.0040.01526.77
8.2.200.0070.00416.25
8.2.190.0130.00616.58
8.2.180.0110.01116.38
8.2.170.0120.00422.96
8.2.160.0130.00722.13
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00419.60
8.2.120.0040.00426.35
8.2.110.0040.00421.18
8.2.100.0120.00017.65
8.2.90.0080.00019.09
8.2.80.0000.00817.97
8.2.70.0030.00617.91
8.2.60.0050.00318.04
8.2.50.0040.00418.10
8.2.40.0040.00419.17
8.2.30.0030.00519.43
8.2.20.0040.00417.92
8.2.10.0030.00619.86
8.2.00.0000.00719.35
8.1.330.0090.00921.96
8.1.320.0100.01018.20
8.1.310.0040.00416.13
8.1.300.0070.01017.76
8.1.290.0090.00030.84
8.1.280.0110.01125.92
8.1.270.0040.00422.15
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0110.00021.31
8.1.230.0040.00817.64
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.10
8.1.190.0040.00417.10
8.1.180.0080.00018.10
8.1.170.0040.00418.60
8.1.160.0050.00218.77
8.1.150.0040.00418.84
8.1.140.0090.00017.55
8.1.130.0000.00719.00
8.1.120.0000.01017.32
8.1.110.0090.00017.42
8.1.100.0040.00417.42
8.1.90.0040.00417.35
8.1.80.0000.00817.28
8.1.70.0050.00317.40
8.1.60.0030.00517.54
8.1.50.0000.00817.38
8.1.40.0000.00717.49
8.1.30.0040.00417.53
8.1.20.0040.00417.63
8.1.10.0000.00817.41
8.1.00.0050.00217.34
8.0.300.0000.00718.77
8.0.290.0030.00616.75
8.0.280.0000.00718.34
8.0.270.0030.00317.13
8.0.260.0030.00317.23
8.0.250.0090.00116.98
8.0.240.0040.00416.95
8.0.230.0030.00316.84
8.0.220.0000.00716.91
8.0.210.0070.00016.79
8.0.200.0040.00416.87
8.0.190.0070.00017.00
8.0.180.0060.00316.92
8.0.170.0050.00316.91
8.0.160.0070.00016.93
8.0.150.0080.00416.88
8.0.140.0040.00416.79
8.0.130.0000.00613.34
8.0.120.0060.00316.75
8.0.110.0000.00916.77
8.0.100.0000.00716.84
8.0.90.0040.00416.88
8.0.80.0080.01116.90
8.0.70.0040.00416.89
8.0.60.0070.00016.89
8.0.50.0000.00716.96
8.0.30.0080.00816.93
8.0.20.0120.01017.40
8.0.10.0040.00417.04
8.0.00.0110.00816.75
7.4.330.0020.00215.55
7.4.320.0030.00316.57
7.4.300.0000.00716.51
7.4.290.0070.00016.49
7.4.280.0000.00716.46
7.4.270.0000.00816.55
7.4.260.0080.00016.48
7.4.250.0030.00316.43
7.4.240.0030.00316.52
7.4.230.0070.00016.63
7.4.220.0070.00016.55
7.4.210.0100.00716.53
7.4.200.0070.00016.52
7.4.160.0110.00716.44
7.4.140.0070.01017.86
7.4.130.0070.01016.50
7.4.120.0070.01116.37
7.4.110.0060.01016.45
7.4.100.0030.01416.47
7.4.90.0080.00816.33
7.4.80.0120.00919.39
7.4.70.0300.01516.48
7.4.60.0160.00616.35
7.4.50.0040.01116.61
7.4.40.0070.01516.63
7.4.00.0000.01614.92
7.3.330.0020.00213.23
7.3.320.0030.00313.12
7.3.310.0050.00316.16
7.3.300.0070.00016.11
7.3.290.0030.00316.26
7.3.280.0070.00716.24
7.3.260.0100.01016.37
7.3.240.0080.01016.35
7.3.230.0140.00316.50
7.3.210.0040.01516.29
7.3.200.0130.00316.18
7.3.190.0070.01016.41
7.3.180.0030.01316.52
7.3.170.0120.00616.33
7.3.160.0110.00816.36
7.3.00.0070.00716.32
7.2.330.0140.00716.67
7.2.320.0030.01416.53
7.2.310.0060.01216.48
7.2.300.0070.01016.29
7.2.290.0150.00416.62
7.2.130.0000.01416.79
7.2.120.0000.01516.57
7.2.110.0140.01116.61
7.2.100.0230.00316.72
7.2.90.0070.01416.85
7.2.80.0160.01216.73
7.2.70.0150.01116.83
7.2.60.0370.00815.60
7.2.50.0380.00915.40
7.2.40.0240.01315.68
7.2.30.0330.00715.73
7.2.20.0280.01115.52
7.2.10.0260.00915.61
7.2.00.0290.00515.78
7.1.250.0070.00315.65
7.1.240.0150.00915.61
7.1.230.0110.00715.75
7.1.220.0140.01015.57
7.1.210.0040.01215.58
7.1.200.0120.00515.57
7.1.190.0050.01315.76
7.1.180.0180.00515.62
7.1.170.0390.00314.50
7.1.160.0280.00714.46
7.1.150.0260.00914.55
7.1.140.0310.00714.32
7.1.130.0270.00614.51
7.1.120.0270.00614.62
7.1.110.0250.00814.57
7.1.100.0290.00714.27
7.1.90.0380.00514.24
7.1.80.0360.00714.49
7.1.70.0330.00914.74
7.1.60.0400.00723.43
7.1.50.0510.00723.51
7.1.40.0520.00623.75
7.1.30.0550.00523.50
7.1.20.0470.00523.53
7.1.10.0440.01114.48
7.1.00.0260.00614.40
7.0.330.0040.00415.11
5.6.380.0080.00913.98

preferences:
30.39 ms | 403 KiB | 5 Q