3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class AbstractRetriever implements UriRetrieverInterface { /** * Media content type * @var string */ protected $contentType; /** * {@inheritDoc} * @see \JsonSchema\Uri\Retrievers\UriRetrieverInterface::retrieve() */ public abstract function retrieve($uri); /** * {@inheritDoc} * @see \JsonSchema\Uri\Retrievers\UriRetrieverInterface::getContentType() */ public function getContentType() { return $this->contentType; } } interface UriRetrieverInterface { /** * Retrieve a schema from the specified URI * @param string $uri URI that resolves to a JSON schema * @throws \JsonSchema\Exception\ResourceNotFoundException * @return mixed string|null */ //public function retrieve($uri); /** * Get media content type * @return string */ public function getContentType(); } ?>

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.3.60.0110.00418.31
8.3.50.0110.00522.12
8.3.40.0090.00618.67
8.3.30.0060.00818.98
8.3.20.0040.00420.11
8.3.10.0030.00523.39
8.3.00.0040.00420.79
8.2.180.0180.00016.32
8.2.170.0070.00722.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00420.89
8.2.110.0090.00022.12
8.2.100.0080.00417.78
8.2.90.0060.00319.13
8.2.80.0060.00317.97
8.2.70.0050.00317.63
8.2.60.0000.00917.80
8.2.50.0060.00318.07
8.2.40.0040.00421.18
8.2.30.0000.00718.26
8.2.20.0040.00417.69
8.2.10.0000.00717.89
8.2.00.0040.00417.68
8.1.280.0130.00325.92
8.1.270.0030.00623.88
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00422.00
8.1.230.0110.00019.00
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0070.00317.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.00818.55
8.1.160.0050.00322.02
8.1.150.0000.00718.52
8.1.140.0070.00017.38
8.1.130.0000.00717.73
8.1.120.0000.00817.39
8.1.110.0080.00017.46
8.1.100.0040.00417.44
8.1.90.0040.00417.44
8.1.80.0030.00317.41
8.1.70.0000.00717.38
8.1.60.0000.00917.51
8.1.50.0040.00417.36
8.1.40.0060.00317.46
8.1.30.0030.00517.59
8.1.20.0070.00017.55
8.1.10.0000.00917.41
8.1.00.0090.00017.21
8.0.300.0040.00418.77
8.0.290.0000.00717.04
8.0.280.0050.00218.39
8.0.270.0080.00017.31
8.0.260.0050.00317.25
8.0.250.0040.00416.81
8.0.240.0000.00716.92
8.0.230.0000.00716.89
8.0.220.0030.00316.73
8.0.210.0030.00316.77
8.0.200.0030.00316.79
8.0.190.0000.00716.88
8.0.180.0000.00716.85
8.0.170.0080.00016.76
8.0.160.0070.00016.82
8.0.150.0070.00016.75
8.0.140.0050.00216.75
8.0.130.0030.00313.23
8.0.120.0000.00816.73
8.0.110.0030.00516.90
8.0.100.0070.00016.73
8.0.90.0040.00416.95
8.0.80.0100.00616.88
8.0.70.0070.00016.89
8.0.60.0000.00716.81
8.0.50.0050.00316.93
8.0.30.0160.01017.10
8.0.20.0060.01417.40
8.0.10.0040.00416.87
8.0.00.0060.01116.85
7.4.330.0050.00015.00
7.4.320.0060.00316.35
7.4.300.0070.00016.46
7.4.290.0070.00016.31
7.4.280.0000.00716.46
7.4.270.0000.00716.46
7.4.260.0090.00016.52
7.4.250.0030.00516.49
7.4.240.0060.00216.52
7.4.230.0000.00716.30
7.4.220.0080.00816.59
7.4.210.0070.00716.57
7.4.200.0080.00016.64
7.4.190.0000.00716.56
7.4.160.0100.00716.42
7.4.150.0030.01317.40
7.4.140.0070.01117.86
7.4.130.0130.00816.47
7.4.120.0050.01216.49
7.4.110.0100.00716.58
7.4.100.0070.01016.53
7.4.90.0190.00016.36
7.4.80.0070.01419.39
7.4.70.0100.01016.41
7.4.60.0070.01016.41
7.4.50.0000.00916.34
7.4.40.0060.01716.53
7.4.30.0110.00616.37
7.4.00.0070.00715.16
7.3.330.0060.00013.21
7.3.320.0050.00013.19
7.3.310.0070.00016.14
7.3.300.0000.00716.16
7.3.290.0070.00716.22
7.3.280.0070.01416.13
7.3.270.0000.01817.40
7.3.260.0090.00916.29
7.3.250.0090.00716.22
7.3.240.0120.00616.29
7.3.230.0100.00716.39
7.3.210.0060.01316.47
7.3.200.0030.01319.39
7.3.190.0070.01516.23
7.3.180.0070.01016.45
7.3.170.0030.01416.34
7.3.160.0060.00916.32
7.3.120.0030.01414.67
7.3.00.0060.00616.62
7.2.330.0110.01116.50
7.2.320.0150.01316.51
7.2.310.0030.01316.35
7.2.300.0120.00416.57
7.2.290.0070.01016.39
7.2.130.0040.00416.82
7.2.120.0030.00816.73
7.2.110.0120.00316.84
7.2.100.0070.00316.48
7.2.90.0130.00316.43
7.2.80.0100.00716.37
7.2.70.0040.01116.67
7.2.60.0070.00616.67
7.2.50.0060.00616.79
7.2.40.0060.00816.74
7.2.30.0050.00616.79
7.2.20.0100.00616.64
7.2.10.0090.00616.64
7.2.00.0010.01118.04
7.1.250.0030.00915.71
7.1.240.0060.00615.66
7.1.230.0030.01015.60
7.1.220.0050.00315.71
7.1.210.0030.00915.71
7.1.200.0020.01015.56
7.1.190.0030.01215.73
7.1.180.0110.00415.58
7.1.170.0090.00315.78
7.1.160.0140.00015.68
7.1.150.0050.00515.58
7.1.140.0040.00415.60
7.1.130.0100.00315.59
7.1.120.0040.01115.52
7.1.110.0000.01415.67
7.1.100.0210.00815.69
7.1.90.0030.01015.35
7.1.80.0090.00015.77
7.1.70.0060.00416.49
7.1.60.0080.00817.58
7.1.50.0070.01216.12
7.1.40.0040.01115.75
7.1.30.0120.00315.77
7.1.20.0000.01415.77
7.1.10.0100.00715.63
7.1.00.0070.03818.99
7.0.330.0000.01015.18
7.0.320.0080.00315.06
7.0.310.0050.00515.24
7.0.300.0090.00315.06
7.0.290.0030.01015.21
7.0.280.0080.00015.21
7.0.270.0000.00815.21
7.0.260.0040.01115.23
7.0.250.0030.00715.25
7.0.240.0040.00715.41
7.0.230.0070.00715.41
7.0.220.0030.01315.45
7.0.210.0060.00615.16
7.0.200.0090.00516.07
7.0.190.0110.00415.46
7.0.180.0080.00415.31
7.0.170.0060.00315.12
7.0.160.0070.00715.41
7.0.150.0030.01015.24
7.0.140.0040.04218.60
7.0.130.0000.01015.48
7.0.120.0030.01015.46
7.0.110.0080.00415.09
7.0.100.0060.00615.19
7.0.90.0000.01415.37
7.0.80.0070.00715.36
7.0.70.0000.00915.28
7.0.60.0040.03717.71
7.0.50.0050.02416.61
7.0.40.0070.04516.85
7.0.30.0300.02916.70
7.0.20.0180.04116.76
7.0.10.0080.02516.82
7.0.00.0080.02116.58
5.6.380.0070.00714.54
5.6.370.0060.00914.09
5.6.360.0000.00914.00
5.6.350.0090.00014.36
5.6.340.0050.00514.25
5.6.330.0070.00714.02
5.6.320.0120.00314.39
5.6.310.0030.01013.85
5.6.300.0070.00713.98
5.6.290.0100.00314.24
5.6.280.0050.04117.57
5.6.270.0030.01314.09
5.6.260.0030.00713.87
5.6.250.0110.00014.14
5.6.240.0090.00614.27
5.6.230.0070.00413.67
5.6.220.0040.00713.91
5.6.210.0130.04317.25
5.6.200.0050.03216.01
5.6.190.0080.02317.36
5.6.180.0200.02017.31
5.6.170.0120.02317.28
5.6.160.0050.02617.37
5.6.150.0100.03916.09
5.6.140.0110.03916.11
5.6.130.0070.04016.10
5.6.120.0050.04217.46
5.6.110.0050.04417.59
5.6.100.0050.02217.52
5.6.90.0050.02417.46
5.6.80.0050.04417.27
5.6.70.0100.00313.88
5.6.60.0000.01013.66
5.6.50.0030.00713.93
5.6.40.0070.00413.97
5.6.30.0000.00913.91
5.6.20.0030.00613.98
5.6.10.0040.00714.04
5.6.00.0030.00613.97
5.5.380.0120.00011.18
5.5.370.0060.00611.18
5.5.360.0000.01111.18
5.5.350.0100.02315.84
5.5.340.0070.04014.56
5.5.330.0050.03015.81
5.5.320.0260.02815.69
5.5.310.0200.03815.80
5.5.300.0060.04214.55
5.5.290.0060.03014.54
5.5.280.0050.04815.92
5.5.270.0080.03516.06
5.5.260.0060.04015.91
5.5.250.0040.02115.93
5.5.240.0140.02515.72
5.5.230.0070.00011.18
5.5.220.0060.00611.18
5.5.210.0030.00911.18
5.5.200.0050.00211.18
5.5.190.0060.00311.18
5.5.180.0030.00611.18
5.5.170.0070.00011.18
5.5.160.0050.00311.18
5.5.150.0090.00011.18
5.5.140.0000.00811.18
5.5.130.0060.00311.18
5.5.120.0080.00311.18
5.5.110.0020.00211.18
5.5.100.0090.00011.18
5.5.90.0030.00611.18
5.5.80.0060.00311.18
5.5.70.0040.00811.18
5.5.60.0000.01211.18
5.5.50.0050.00311.18
5.5.40.0030.01011.18
5.5.30.0030.00711.18
5.5.20.0040.00711.18
5.5.10.0070.00011.18
5.5.00.0030.00311.18
5.4.450.0050.02915.32
5.4.440.0170.02915.24
5.4.430.0180.02215.33
5.4.420.0200.02015.29
5.4.410.0280.02115.23
5.4.400.0280.02415.18
5.4.390.0250.02015.07
5.4.380.0270.03514.86
5.4.370.0150.02914.94
5.4.360.0300.03314.88
5.4.350.0290.03514.88
5.4.340.0150.03314.97
5.4.330.0040.00411.18
5.4.320.0080.03211.84
5.4.310.0080.02411.84
5.4.300.0060.02111.84
5.4.290.0040.02711.84
5.4.280.0050.02111.79
5.4.270.0020.02111.79
5.4.260.0060.02311.79
5.4.250.0050.02711.79
5.4.240.0040.02411.79
5.4.230.0070.02111.79
5.4.220.0040.02111.78
5.4.210.0050.02211.79
5.4.200.0060.02211.78
5.4.190.0050.02511.78
5.4.180.0040.02311.78
5.4.170.0050.02911.79
5.4.160.0040.02511.79
5.4.150.0050.02111.78
5.4.140.0070.01911.63
5.4.130.0060.01911.62
5.4.120.0040.02311.60
5.4.110.0040.02311.60
5.4.100.0040.02311.60
5.4.90.0060.02211.60
5.4.80.0090.02911.60
5.4.70.0060.03011.59
5.4.60.0070.02811.59
5.4.50.0060.02711.59
5.4.40.0050.02511.59
5.4.30.0070.01811.59
5.4.20.0030.02411.59
5.4.10.0020.02111.59
5.4.00.0040.02111.33
5.3.290.0050.02711.99
5.3.280.0030.02111.94
5.3.270.0050.02111.95
5.3.260.0030.02211.95
5.3.250.0060.01811.95
5.3.240.0070.02011.95
5.3.230.0050.02111.94
5.3.220.0020.02411.93
5.3.210.0050.02511.93
5.3.200.0020.02511.93
5.3.190.0060.02011.93
5.3.180.0040.02411.92
5.3.170.0070.02311.92
5.3.160.0040.02011.93
5.3.150.0040.02411.93
5.3.140.0040.02111.92
5.3.130.0040.02311.92
5.3.120.0020.02311.92
5.3.110.0060.02311.92
5.3.100.0060.02211.65
5.3.90.0040.02311.64
5.3.80.0040.02811.64
5.3.70.0060.02011.63
5.3.60.0070.03211.63
5.3.50.0070.02711.60
5.3.40.0020.02411.60
5.3.30.0020.02311.58
5.3.20.0040.02111.47
5.3.10.0020.02111.45
5.3.00.0050.02411.45
5.2.170.0050.01910.20
5.2.160.0020.01810.20
5.2.150.0050.01610.20
5.2.140.0020.02110.20
5.2.130.0020.01710.18
5.2.120.0060.02010.17
5.2.110.0040.02110.18
5.2.100.0020.01710.18
5.2.90.0050.01910.18
5.2.80.0050.01910.18
5.2.70.0040.01710.18
5.2.60.0080.01510.15
5.2.50.0040.01710.14
5.2.40.0050.01810.13
5.2.30.0030.02010.11
5.2.20.0020.02410.11
5.2.10.0060.02010.06
5.2.00.0040.0239.99
5.1.60.0040.0209.63
5.1.50.0020.0209.63
5.1.40.0050.0199.62
5.1.30.0070.0229.80
5.1.20.0050.0229.81
5.1.10.0060.0209.67
5.1.00.0040.0229.67
5.0.50.0050.0188.91
5.0.40.0040.0128.84
5.0.30.0020.0248.75
5.0.20.0020.0158.73
5.0.10.0020.0178.72
5.0.00.0020.0208.72
4.4.90.0020.0117.98
4.4.80.0040.0077.96
4.4.70.0050.0087.97
4.4.60.0030.0097.96
4.4.50.0050.0117.97
4.4.40.0020.0197.94
4.4.30.0020.0127.97
4.4.20.0010.0108.01
4.4.10.0020.0118.01
4.4.00.0010.0167.97
4.3.110.0020.0097.92
4.3.100.0040.0087.92
4.3.90.0020.0097.90
4.3.80.0030.0147.88
4.3.70.0030.0077.90
4.3.60.0020.0127.90
4.3.50.0040.0087.90
4.3.40.0020.0167.85
4.3.30.0020.0137.23
4.3.20.0040.0107.22
4.3.10.0010.0117.20
4.3.00.0060.01013.66

preferences:
44.06 ms | 401 KiB | 5 Q