3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface SqlContentEntityStorageInterface { public function getTableMapping(array $storage_definitions = NULL); } class SqlContentEntityStorage implements SqlContentEntityStorageInterface { public function getTableMapping(array $storage_definitions = NULL) { $args = func_get_args(); if (isset($args[1])) { $entity_type = $args[1]; print $entity_type; } } } class CustomStorage extends SqlContentEntityStorage { public function getTableMapping(array $storage_definitions = NULL) { parent::getTableMapping($storage_definitions); } } class CustomStorageNoParent extends SqlContentEntityStorage { public function getTableMapping(array $storage_definitions = NULL) { } } (new SqlContentEntityStorage)->getTableMapping(); (new SqlContentEntityStorage)->getTableMapping([], 'node'); (new CustomStorage())->getTableMapping(); (new CustomStorageNoParent())->getTableMapping();

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.0140.00717.76
8.4.120.0080.00320.90
8.4.110.0150.00522.79
8.4.100.0120.00917.89
8.4.90.0130.00717.82
8.4.80.0060.00518.13
8.4.70.0110.00917.82
8.4.60.0100.01018.46
8.4.50.0120.00717.88
8.4.40.0080.00017.70
8.4.30.0190.00619.57
8.4.20.0070.01517.91
8.4.10.0090.00017.88
8.3.260.0140.00516.25
8.3.250.0120.00718.99
8.3.240.0120.00716.85
8.3.230.0060.00216.86
8.3.220.0030.00517.39
8.3.210.0040.00416.62
8.3.200.0040.00416.57
8.3.190.0100.00817.37
8.3.180.0120.00716.56
8.3.170.0060.01316.58
8.3.160.0150.00316.61
8.3.150.0080.00817.20
8.3.140.0030.00516.85
8.3.130.0080.00018.29
8.3.120.0090.00020.91
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0120.00826.77
8.3.80.0000.00918.56
8.3.70.0070.01416.50
8.3.60.0100.00716.50
8.3.50.0040.01018.09
8.3.40.0090.00618.84
8.3.30.0070.00718.51
8.3.20.0040.00419.18
8.3.10.0030.00521.03
8.3.00.0080.00023.66
8.2.290.0110.00820.57
8.2.280.0030.00518.58
8.2.270.0130.00616.58
8.2.260.0050.00318.87
8.2.250.0030.00518.29
8.2.240.0050.00317.39
8.2.230.0080.00822.58
8.2.220.0000.00837.54
8.2.210.0110.00726.77
8.2.200.0060.00316.75
8.2.190.0060.00916.58
8.2.180.0160.00316.75
8.2.170.0120.00622.96
8.2.160.0140.00320.45
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00419.77
8.2.120.0040.00426.35
8.2.110.0070.00321.17
8.2.100.0050.00519.28
8.2.90.0080.00019.20
8.2.80.0090.00018.03
8.2.70.0080.00018.03
8.2.60.0000.00918.03
8.2.50.0000.00818.10
8.2.40.0070.00019.51
8.2.30.0080.00019.48
8.2.20.0060.00318.12
8.2.10.0040.00418.06
8.2.00.0000.00819.50
8.1.330.0100.01018.50
8.1.320.0100.00916.01
8.1.310.0040.00416.71
8.1.300.0140.00316.19
8.1.290.0040.00730.84
8.1.280.0120.00325.92
8.1.270.0030.00623.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00720.87
8.1.230.0120.00017.83
8.1.220.0030.00517.79
8.1.210.0000.00818.77
8.1.200.0090.00017.47
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0000.00818.71
8.1.160.0040.00418.85
8.1.150.0000.00718.81
8.1.140.0000.00717.79
8.1.130.0040.00417.37
8.1.120.0030.00317.48
8.1.110.0000.00817.39
8.1.100.0080.00017.52
8.1.90.0000.00717.47
8.1.80.0030.00617.47
8.1.70.0040.00417.38
8.1.60.0040.00417.52
8.1.50.0040.00417.56
8.1.40.0050.00317.53
8.1.30.0040.00417.68
8.1.20.0040.00417.59
8.1.10.0000.00717.61
8.1.00.0080.00017.52
8.0.300.0040.00418.78
8.0.290.0080.00316.63
8.0.280.0040.00418.39
8.0.270.0000.00717.21
8.0.260.0070.00016.80
8.0.250.0000.00716.91
8.0.240.0060.00016.97
8.0.230.0030.00316.80
8.0.220.0000.00716.94
8.0.210.0040.00416.84
8.0.200.0000.00716.89
8.0.190.0040.00416.98
8.0.180.0080.00016.92
8.0.170.0030.00516.81
8.0.160.0040.00416.91
8.0.150.0030.00516.84
8.0.140.0050.00216.85
8.0.130.0030.00513.38
8.0.120.0000.00816.88
8.0.110.0030.00316.72
8.0.100.0040.00416.84
8.0.90.0070.00016.99
8.0.80.0070.01116.85
8.0.70.0030.00316.79
8.0.60.0040.00416.70
8.0.50.0030.00516.85
8.0.30.0120.00616.94
8.0.20.0140.00617.40
8.0.10.0040.00417.00
8.0.00.0080.01116.74
7.4.330.0030.00315.55
7.4.320.0030.00316.57
7.4.300.0000.00816.42
7.4.290.0000.00716.65
7.4.280.0050.00316.52
7.4.270.0040.00416.53
7.4.260.0000.00716.39
7.4.250.0000.00816.60
7.4.240.0030.00316.52
7.4.230.0000.00716.62
7.4.220.0050.00316.51
7.4.210.0110.00716.54
7.4.200.0000.00716.71
7.4.160.0090.00816.53
7.4.140.0110.00817.86
7.4.130.0070.01016.55
7.4.120.0120.01016.50
7.4.110.0060.01216.64
7.4.100.0090.00916.65
7.4.90.0120.00916.61
7.4.80.0120.00919.39
7.4.70.0100.00616.60
7.4.60.0130.00316.46
7.4.50.0060.00916.43
7.4.40.0100.00616.29
7.4.00.0080.00914.88
7.3.330.0000.00613.34
7.3.320.0060.00013.34
7.3.310.0080.00016.38
7.3.300.0070.00016.22
7.3.290.0000.00716.28
7.3.280.0110.00716.34
7.3.260.0080.00916.33
7.3.240.0080.00916.47
7.3.230.0110.00616.47
7.3.210.0030.01616.35
7.3.200.0140.00716.49
7.3.190.0060.01016.34
7.3.180.0100.00616.30
7.3.170.0100.00716.50
7.3.160.0130.00916.33
7.3.120.0030.01515.02
7.3.110.0100.00714.93
7.3.100.0130.00314.87
7.3.90.0100.00714.71
7.3.80.0070.00314.90
7.3.70.0060.01114.81
7.3.60.0030.01314.86
7.3.50.0090.00614.89
7.3.40.0030.00914.58
7.3.30.0100.00314.72
7.3.20.0000.00916.46
7.3.10.0060.00916.45
7.3.00.0020.00916.58
7.2.330.0120.01516.72
7.2.320.0100.00716.78
7.2.310.0000.01616.45
7.2.300.0130.00316.62
7.2.290.0170.00316.36
7.2.250.0110.00715.02
7.2.240.0110.00714.73
7.2.230.0080.00315.07
7.2.220.0070.01114.73
7.2.210.0040.01115.18
7.2.200.0060.01014.95
7.2.190.0070.01014.99
7.2.180.0070.01115.04
7.2.170.0090.00614.90
7.2.130.0110.00416.72
7.2.120.0000.01416.85
7.2.110.0140.01116.81
7.2.100.0030.00916.89
7.2.90.0070.00716.73
7.2.80.0100.00016.79
7.2.70.0060.00316.98
7.2.60.0180.01215.75
7.2.50.1330.00815.96
7.2.40.0110.01016.00
7.2.30.0170.01016.00
7.2.20.0090.00916.00
7.2.10.0060.01415.91
7.2.00.0110.00815.69
7.1.330.0000.01315.60
7.1.320.0000.01215.73
7.1.310.0030.01315.67
7.1.300.0000.01215.47
7.1.290.0060.00915.81
7.1.280.0040.01115.86
7.1.270.0030.00915.73
7.1.260.0100.00015.81
7.1.250.0080.00015.86
7.1.200.0090.00315.64
7.1.170.0100.01414.05
7.1.160.0200.00313.96
7.1.150.0200.00314.07
7.1.140.0150.01014.01
7.1.130.0150.00914.04
7.1.120.0170.01013.73
7.1.110.0210.00413.93
7.1.100.0190.00613.69
7.1.90.0180.00913.93
7.1.80.0270.00013.75
7.1.70.0210.00714.00
7.1.60.0430.00732.09
7.1.50.0450.01031.66
7.1.40.0430.01631.66
7.1.30.0440.00932.06
7.1.20.0470.00931.62
7.1.10.0330.00313.91
7.1.00.0240.01413.80

preferences:
139.57 ms | 403 KiB | 5 Q