3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A extends B { public function get($name, array $options = null){} } class B { public function get($name, $options = [], $usePeeringServiceManagers = true){} }

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.120.0060.00318.94
8.3.110.0170.00320.94
8.3.100.0030.00624.06
8.3.90.0070.01126.77
8.3.80.0030.00618.33
8.3.70.0120.00318.68
8.3.60.0070.00718.54
8.3.50.0110.00618.30
8.3.40.0210.00018.55
8.3.30.0100.00718.59
8.3.20.0100.00320.16
8.3.10.0040.00421.86
8.3.00.0040.00421.73
8.2.240.0000.01018.63
8.2.230.0050.00522.58
8.2.220.0040.00437.54
8.2.210.0130.00726.77
8.2.200.0080.00416.63
8.2.190.0150.00616.58
8.2.180.0070.00718.31
8.2.170.0160.00322.96
8.2.160.0090.00920.39
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00320.52
8.2.120.0030.00626.35
8.2.110.0060.00322.06
8.2.100.0160.00017.78
8.2.90.0050.00317.75
8.2.80.0040.00418.66
8.2.70.0080.00017.80
8.2.60.0000.00817.38
8.2.50.0060.00319.10
8.2.40.0030.00619.66
8.2.30.0060.00317.60
8.2.20.0050.00218.05
8.2.10.0000.00817.91
8.2.00.0050.00217.98
8.1.300.0090.00920.30
8.1.290.0040.00430.84
8.1.280.0140.00325.92
8.1.270.0080.00022.09
8.1.260.0040.00426.35
8.1.250.0040.01128.09
8.1.240.0060.00323.96
8.1.230.0070.00319.00
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0090.00017.23
8.1.190.0060.00317.10
8.1.180.0060.00318.10
8.1.170.0030.00517.62
8.1.160.0000.00718.81
8.1.150.0000.00720.08
8.1.140.0060.00318.79
8.1.130.0000.00718.82
8.1.120.0040.00417.29
8.1.110.0030.00617.38
8.1.100.0000.00717.39
8.1.90.0000.01017.26
8.1.80.0000.00717.38
8.1.70.0030.00517.37
8.1.60.0000.00817.42
8.1.50.0040.00417.34
8.1.40.0050.00317.44
8.1.30.0040.00717.54
8.1.20.0090.00317.62
8.1.10.0000.00717.39
8.1.00.0060.00317.29
8.0.300.0040.00418.77
8.0.290.0050.00316.75
8.0.280.0030.00317.99
8.0.270.0060.00318.01
8.0.260.0030.00316.82
8.0.250.0030.00516.95
8.0.240.0040.00416.91
8.0.230.0030.00316.98
8.0.220.0030.00316.92
8.0.210.0000.00716.87
8.0.200.0000.00716.96
8.0.190.0040.00416.91
8.0.180.0060.00316.78
8.0.170.0030.00316.91
8.0.160.0000.00716.91
8.0.150.0040.00416.86
8.0.140.0030.00316.85
8.0.130.0000.00613.27
8.0.120.0050.00216.80
8.0.110.0040.00416.82
8.0.100.0000.00716.78
8.0.90.0040.00416.79
8.0.80.0100.01016.84
8.0.70.0040.00416.78
8.0.60.0040.00416.79
8.0.50.0030.00516.73
8.0.30.0100.00816.96
8.0.20.0160.00617.40
8.0.10.0000.00717.04
8.0.00.0120.00616.52
7.4.330.0030.00315.55
7.4.320.0000.00616.45
7.4.300.0000.00616.44
7.4.290.0000.00716.44
7.4.280.0000.00716.42
7.4.270.0030.00516.53
7.4.260.0100.00016.39
7.4.250.0000.00816.39
7.4.240.0030.00316.51
7.4.230.0030.00516.55
7.4.220.0140.00416.52
7.4.210.0140.00716.52
7.4.200.0040.00416.30
7.4.160.0100.00716.34
7.4.150.0090.00917.40
7.4.140.0090.01017.86
7.4.130.0120.00616.38
7.4.120.0150.00816.42
7.4.110.0070.01016.45
7.4.100.0080.00816.44
7.4.90.0070.01116.20
7.4.80.0090.00919.39
7.4.70.0100.01016.54
7.4.60.0030.01316.48
7.4.50.0070.01016.40
7.4.40.0040.01416.30
7.4.30.0090.00616.36
7.4.00.0070.01114.97
7.3.330.0050.00013.23
7.3.320.0030.00313.30
7.3.310.0060.00016.33
7.3.300.0070.00016.25
7.3.290.0100.00616.26
7.3.280.0030.01516.24
7.3.270.0080.01117.40
7.3.260.0100.00716.27
7.3.250.0080.00916.39
7.3.240.0130.00516.25
7.3.230.0150.00916.30
7.3.210.0060.01216.29
7.3.200.0080.00816.42
7.3.190.0060.00916.25
7.3.180.0090.00616.32
7.3.170.0060.00916.38
7.3.160.0100.00716.32
7.3.110.0030.01114.55
7.3.100.0030.01014.70
7.3.90.0070.00714.62
7.3.80.0180.00014.53
7.3.70.0030.01614.73
7.3.60.0070.01314.65
7.3.50.0120.00914.82
7.3.40.0100.00614.67
7.3.30.0030.01214.55
7.3.20.0050.01514.81
7.3.10.0130.00914.59
7.3.00.0100.00714.78
7.2.340.0050.00717.74
7.2.330.0100.01016.58
7.2.320.0040.01216.27
7.2.310.0060.01016.71
7.2.300.0030.01316.56
7.2.290.0120.00816.58
7.2.240.0060.00914.77
7.2.230.0030.01214.87
7.2.220.0100.00314.74
7.2.210.0080.00914.94
7.2.200.0120.00914.79
7.2.190.0070.01315.03
7.2.180.0070.00714.93
7.2.170.0110.00814.70
7.2.160.0080.00814.68
7.2.150.0140.00714.99
7.2.140.0180.00314.73
7.2.130.0100.01015.11
7.2.120.0090.01214.82
7.2.110.0130.00714.73
7.2.100.0030.01314.95
7.2.90.0060.01014.69
7.2.80.0370.00814.78
7.2.70.0210.00614.82
7.2.60.0220.00915.53
7.2.50.0430.01314.81
7.2.40.0310.01214.85
7.2.30.0280.00914.87
7.2.20.0210.00814.88
7.2.10.0280.00916.51
7.2.00.0220.00716.44
7.1.330.0030.01113.77
7.1.320.0120.00613.60
7.1.310.0040.01313.93
7.1.300.0070.01113.70
7.1.290.0080.00613.53
7.1.280.0100.01013.76
7.1.270.0110.01113.81
7.1.260.0030.01613.65
7.1.250.0110.00813.79
7.1.240.0240.00313.68
7.1.230.0270.00913.66
7.1.220.0150.00713.82
7.1.210.0160.00813.46
7.1.200.0260.00914.48
7.1.190.0360.00713.66
7.1.180.0380.00913.90
7.1.170.0460.01013.69
7.1.160.0450.00613.76
7.1.150.0870.01013.79
7.1.140.0250.00913.71
7.1.130.0320.00513.83
7.1.120.0220.00915.61
7.1.110.0180.00815.29
7.1.100.0170.00915.27
7.1.90.0200.00915.50
7.1.80.0170.01015.34
7.1.70.0170.00814.95
7.1.60.0250.01128.33
7.1.50.0310.01128.19
7.1.40.0300.01228.03
7.1.30.0320.01028.02
7.1.20.0260.01528.10
7.1.10.0200.01114.52
7.1.00.0150.00914.73
7.0.330.0170.00613.46
7.0.320.0160.01013.39
7.0.310.0280.00613.41
7.0.300.0400.01013.33
7.0.290.0630.01013.39
7.0.280.0300.00613.23
7.0.270.0420.00713.37
7.0.260.0170.00815.29
7.0.250.0230.01215.03
7.0.240.0180.00914.95
7.0.230.0160.01014.90
7.0.220.0250.00614.95
7.0.210.0210.01114.52
7.0.200.0190.00914.59
7.0.190.0190.00914.53
7.0.180.0280.00914.28
7.0.170.0160.01114.31
7.0.160.0250.00914.13
7.0.150.0200.00814.26
7.0.140.0160.01114.42
7.0.130.0150.01114.43
7.0.120.0260.01014.55
7.0.110.0190.00814.29
7.0.100.0130.01114.29
7.0.90.0240.00814.31
7.0.80.0170.01014.29
7.0.70.0170.00814.42
7.0.60.0120.01314.24
7.0.50.0160.00814.35
7.0.40.0120.01314.42
7.0.30.0150.01114.41
7.0.20.0220.00814.47
7.0.10.0160.00814.38
7.0.00.0170.00914.43
5.6.400.0180.01314.15
5.6.390.0170.00814.45
5.6.380.0190.00414.14

preferences:
41.12 ms | 403 KiB | 5 Q