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.0070.00716.75
8.3.50.0140.00822.12
8.3.40.0090.00618.55
8.3.30.0090.00618.92
8.3.20.0030.00620.39
8.3.10.0040.00423.56
8.3.00.0080.00019.02
8.2.180.0160.00916.50
8.2.170.0100.00722.96
8.2.160.0080.00620.52
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00020.73
8.2.110.0000.01122.28
8.2.100.0110.00019.51
8.2.90.0070.00019.23
8.2.80.0040.00417.97
8.2.70.0060.00317.38
8.2.60.0090.00017.68
8.2.50.0050.00318.07
8.2.40.0040.00419.18
8.2.30.0070.00018.24
8.2.20.0050.00217.69
8.2.10.0000.00717.88
8.2.00.0050.00317.61
8.1.280.0110.00725.92
8.1.270.0100.00323.88
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00623.84
8.1.230.0070.00419.02
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00817.35
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0000.00818.65
8.1.160.0040.00422.02
8.1.150.0040.00418.46
8.1.140.0100.00017.36
8.1.130.0000.00817.68
8.1.120.0070.00017.41
8.1.110.0000.00817.41
8.1.100.0070.00017.32
8.1.90.0000.00717.46
8.1.80.0050.00317.41
8.1.70.0070.00317.26
8.1.60.0000.00817.56
8.1.50.0040.00417.43
8.1.40.0000.00917.44
8.1.30.0090.00017.55
8.1.20.0030.00617.48
8.1.10.0030.00517.36
8.1.00.0040.00417.34
8.0.300.0040.00418.77
8.0.290.0040.00417.05
8.0.280.0000.00718.36
8.0.270.0070.00017.20
8.0.260.0000.00617.07
8.0.250.0000.00616.91
8.0.240.0000.00716.79
8.0.230.0000.00716.77
8.0.220.0030.00316.73
8.0.210.0000.00716.79
8.0.200.0000.00616.88
8.0.190.0030.00616.93
8.0.180.0070.00016.80
8.0.170.0070.00016.90
8.0.160.0000.00716.84
8.0.150.0000.00716.80
8.0.140.0070.00016.71
8.0.130.0030.00313.23
8.0.120.0040.00416.80
8.0.110.0080.00016.87
8.0.100.0040.00416.90
8.0.90.0070.00016.73
8.0.80.0100.01016.80
8.0.70.0000.00716.66
8.0.60.0000.00716.66
8.0.50.0040.00416.74
8.0.30.0140.00816.94
8.0.20.0110.00817.40
8.0.10.0040.00416.83
8.0.00.0100.01116.68
7.4.330.0050.00015.00
7.4.320.0030.00616.55
7.4.300.0060.00016.59
7.4.290.0000.00716.46
7.4.280.0070.00016.52
7.4.270.0000.00716.53
7.4.260.0000.00716.43
7.4.250.0000.00716.52
7.4.240.0050.00316.54
7.4.230.0000.00716.65
7.4.220.0100.01416.58
7.4.210.0060.00816.52
7.4.200.0080.00016.30
7.4.190.0030.00316.52
7.4.160.0090.00616.29
7.4.150.0150.01117.40
7.4.140.0140.00417.86
7.4.130.0110.00516.43
7.4.120.0090.00916.37
7.4.110.0080.00816.27
7.4.100.0090.00816.41
7.4.90.0130.00416.69
7.4.80.0000.01719.39
7.4.70.0130.00316.35
7.4.60.0030.01316.44
7.4.50.0030.00316.12
7.4.40.0110.01116.51
7.4.30.0140.00316.44
7.4.00.0110.00514.97
7.3.330.0030.00313.13
7.3.320.0000.00513.00
7.3.310.0040.00416.23
7.3.300.0070.00016.13
7.3.290.0040.01116.19
7.3.280.0070.01016.18
7.3.270.0040.01817.40
7.3.260.0140.02116.65
7.3.250.0070.01016.14
7.3.240.0100.00716.28
7.3.230.0050.01116.46
7.3.210.0110.00716.26
7.3.200.0100.01319.39
7.3.190.0120.01116.39
7.3.180.0040.01216.20
7.3.170.0100.00916.53
7.3.160.0060.00916.38
7.3.120.0070.01014.81
7.3.110.0100.00614.62
7.3.100.0040.01114.59
7.3.90.0060.00614.60
7.3.80.0090.00914.68
7.3.70.0050.00314.82
7.3.60.0050.00514.75
7.3.50.0040.01114.91
7.3.40.0070.00714.50
7.3.30.0120.00014.86
7.3.20.0070.00716.55
7.3.10.0090.00616.59
7.3.00.0060.00616.39
7.2.330.0090.00916.41
7.2.320.0070.01016.59
7.2.310.0100.00716.35
7.2.300.0170.00016.68
7.2.290.0090.01316.40
7.2.250.0060.01014.80
7.2.240.0030.00914.94
7.2.230.0150.00014.80
7.2.220.0030.01214.90
7.2.210.0110.00814.66
7.2.200.0100.00314.95
7.2.190.0070.00314.77
7.2.180.0030.01015.03
7.2.170.0040.01214.75
7.2.00.0030.00718.94
7.1.330.0090.00615.75
7.1.320.0060.00615.66
7.1.310.0060.01215.78
7.1.300.0060.00615.45
7.1.290.0030.00715.74
7.1.280.0100.00615.72
7.1.270.0070.01015.63
7.1.260.0100.00715.45
7.1.200.0090.00315.63
7.1.100.0030.00517.73
7.1.70.0000.00716.99
7.1.60.0150.00919.46
7.1.50.0080.00816.76
7.1.00.0100.07022.45
7.0.200.0070.00416.61
7.0.140.0070.07021.95
7.0.60.0130.07319.89
7.0.50.0070.04017.85
7.0.40.0000.06020.09
7.0.30.0230.04320.30
7.0.20.0370.07320.22
7.0.10.0100.08020.12
7.0.00.0130.07320.20
5.6.280.0030.07321.13
5.6.210.0100.07720.70
5.6.200.0000.08018.19
5.6.190.0070.05020.63
5.6.180.0100.08320.58
5.6.170.0230.04720.56
5.6.160.0100.07720.52
5.6.150.0070.08018.14
5.6.140.0130.06018.21
5.6.130.0130.07318.17
5.6.120.0030.08721.04
5.6.110.0170.07021.09
5.6.100.0030.06021.04
5.6.90.0030.08020.88
5.6.80.0130.07720.52
5.5.350.2670.03320.37
5.5.340.0130.07718.02
5.5.330.0030.08020.13
5.5.320.0300.05020.30
5.5.310.0370.07020.27
5.5.300.0070.06317.99
5.5.290.0030.09017.98
5.5.280.0130.06720.77
5.5.270.0130.08020.86
5.5.260.0100.08320.87
5.5.250.0130.07020.77
5.5.240.0000.08720.38
5.4.450.0200.05047.11
5.4.440.0470.04341.45
5.4.430.0300.04337.24
5.4.420.0430.03735.13
5.4.410.0370.04331.64
5.4.400.0300.04331.52
5.4.390.0230.05028.02
5.4.380.0370.05718.75
5.4.370.0330.05318.59
5.4.360.0230.05718.73
5.4.350.0300.06018.74
5.4.340.0200.07318.73
5.4.320.0050.03712.51
5.4.310.0060.03912.50
5.4.300.0100.04712.50
5.4.290.0130.04912.50
5.4.280.0120.05012.40
5.4.270.0080.06312.40
5.4.260.0130.04912.40
5.4.250.0110.05412.40
5.4.240.0090.05412.39
5.4.230.0080.05412.39
5.4.220.0050.05412.39
5.4.210.0100.04912.39
5.4.200.0100.05112.39
5.4.190.0110.05112.39
5.4.180.0080.05212.39
5.4.170.0070.05312.40
5.4.160.0060.05112.39
5.4.150.0060.05112.39
5.4.140.0040.05612.08
5.4.130.0070.04212.06
5.4.120.0110.03612.02
5.4.110.0080.03912.02
5.4.100.0050.04012.02
5.4.90.0060.03912.02
5.4.80.0080.04112.02
5.4.70.0060.04212.01
5.4.60.0080.04512.01
5.4.50.0050.05012.01
5.4.40.0060.03712.00
5.4.30.0050.03912.00
5.4.20.0050.03912.00
5.4.10.0060.03612.00
5.4.00.0080.03511.49
5.3.290.0060.03812.80
5.3.280.0060.04112.71
5.3.270.0060.04312.72
5.3.260.0050.05112.71
5.3.250.0120.04012.72
5.3.240.0130.03312.72
5.3.230.0090.03912.71
5.3.220.0080.03912.68
5.3.210.0080.04212.68
5.3.200.0100.03912.68
5.3.190.0050.03912.68
5.3.180.0080.03612.68
5.3.170.0130.04612.67
5.3.160.0070.05012.68
5.3.150.0090.05012.67
5.3.140.0060.05212.66
5.3.130.0070.05312.65
5.3.120.0090.05112.65
5.3.110.0070.05312.66
5.3.100.0120.04312.12
5.3.90.0080.05112.11
5.3.80.0050.04412.10
5.3.70.0030.04312.10
5.3.60.0130.03512.08
5.3.50.0140.03712.03
5.3.40.0070.04012.03
5.3.30.0090.03711.99
5.3.20.0120.03411.77
5.3.10.0150.03011.73
5.3.00.0140.03211.73
5.2.170.0180.0229.23
5.2.160.0090.0319.22
5.2.150.0120.0279.23
5.2.140.0070.0309.22
5.2.130.0060.0439.18
5.2.120.0100.0389.18
5.2.110.0090.0279.20
5.2.100.0070.0419.19
5.2.90.0080.0409.19
5.2.80.0060.0439.18
5.2.70.0070.0429.18
5.2.60.0100.0519.13
5.2.50.0050.0459.10
5.2.40.0100.0329.08
5.2.30.0050.0339.06
5.2.20.0050.0339.05
5.2.10.0030.0308.95
5.2.00.0070.0278.82
5.1.60.0040.0248.09
5.1.50.0100.0268.09
5.1.40.0080.0318.07
5.1.30.0100.0328.42
5.1.20.0050.0338.44
5.1.10.0050.0288.16
5.1.00.0070.0368.17
5.0.50.0050.0216.65
5.0.40.0040.0296.51
5.0.30.0070.0406.32
5.0.20.0020.0216.29
5.0.10.0040.0206.27
5.0.00.0020.0326.26
4.4.90.0010.0234.78
4.4.80.0040.0154.75
4.4.70.0030.0164.76
4.4.60.0050.0154.76
4.4.50.0020.0174.77
4.4.40.0020.0294.71
4.4.30.0040.0174.76
4.4.20.0030.0224.84
4.4.10.0030.0174.85
4.4.00.0060.0294.76
4.3.110.0050.0214.67
4.3.100.0010.0214.66
4.3.90.0040.0134.64
4.3.80.0020.0254.59
4.3.70.0000.0184.63
4.3.60.0040.0144.63
4.3.50.0020.0174.63
4.3.40.0020.0254.54
4.3.30.0030.0163.28
4.3.20.0020.0163.26
4.3.10.0010.0173.22
4.3.00.0070.01726.93

preferences:
39.67 ms | 400 KiB | 5 Q