3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ConcreteBar { function test() { return "concrete"; } } class ApplicationBar { function test() { return "application"; } } class Foo extends Bar { } class_alias('ConcreteBar', 'Bar'); $foo = new Foo; var_dump($foo->test());

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.40.0140.00318.89
8.3.30.0000.01418.96
8.3.20.0040.00420.16
8.3.10.0000.00821.58
8.3.00.0000.00819.25
8.2.170.0090.00922.96
8.2.160.0090.00622.26
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.01119.64
8.2.110.0100.00021.02
8.2.100.0140.00217.68
8.2.90.0040.00419.13
8.2.80.0060.00317.97
8.2.70.0030.00617.50
8.2.60.0040.00418.04
8.2.50.0080.00018.07
8.2.40.0060.00318.22
8.2.30.0030.00519.37
8.2.20.0080.00017.80
8.2.10.0050.00317.94
8.2.00.0000.00817.75
8.1.270.0090.00020.60
8.1.260.0040.00426.35
8.1.250.0040.00728.09
8.1.240.0080.00022.02
8.1.230.0070.00418.86
8.1.220.0020.00517.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0000.00818.50
8.1.160.0000.00722.06
8.1.150.0030.00518.73
8.1.140.0040.00417.34
8.1.130.0030.00317.76
8.1.120.0000.00717.30
8.1.110.0040.00417.40
8.1.100.0040.00417.34
8.1.90.0040.00417.33
8.1.80.0000.00717.38
8.1.70.0000.00717.40
8.1.60.0080.00017.41
8.1.50.0040.00417.43
8.1.40.0080.00017.35
8.1.30.0030.00617.52
8.1.20.0030.00517.48
8.1.10.0030.00517.36
8.1.00.0060.00317.38
8.0.300.0050.00318.77
8.0.290.0000.00816.75
8.0.280.0000.00718.48
8.0.270.0020.00517.21
8.0.260.0060.00017.21
8.0.250.0070.00017.02
8.0.240.0030.00316.89
8.0.230.0070.00016.98
8.0.220.0000.00716.92
8.0.210.0070.00016.96
8.0.200.0000.00716.94
8.0.190.0040.00416.90
8.0.180.0070.00016.88
8.0.170.0030.00616.94
8.0.160.0040.00417.05
8.0.150.0030.00517.03
8.0.140.0070.00016.85
8.0.130.0030.00313.43
8.0.120.0000.00816.81
8.0.110.0040.00416.91
8.0.100.0000.00716.97
8.0.90.0000.00816.79
8.0.80.0070.00717.02
8.0.70.0070.00016.99
8.0.60.0020.00516.82
8.0.50.0030.00517.00
8.0.30.0120.00817.03
8.0.20.0100.00917.40
8.0.10.0040.00416.84
8.0.00.0060.01016.74
7.4.330.0000.00615.11
7.4.320.0070.00016.55
7.4.300.0000.00716.41
7.4.290.0070.00016.56
7.4.280.0070.00416.53
7.4.270.0040.00416.50
7.4.260.0000.00816.42
7.4.250.0040.00416.51
7.4.240.0050.00216.56
7.4.230.0030.00316.56
7.4.220.0030.01416.39
7.4.210.0100.01016.64
7.4.200.0040.00416.62
7.4.150.0220.02817.40
7.4.140.0190.00217.86
7.4.130.0110.00716.50
7.4.120.0080.00916.54
7.4.110.0030.01516.63
7.4.100.0100.01316.45
7.4.90.0090.01016.64
7.4.80.0090.01719.39
7.4.70.0170.00016.45
7.4.60.0070.01016.50
7.4.50.0000.00916.47
7.4.40.0070.01016.55
7.4.30.0190.00316.44
7.4.10.0130.00314.99
7.4.00.0070.01014.94
7.3.330.0050.00013.32
7.3.320.0050.00013.18
7.3.310.0000.00716.28
7.3.300.0000.00716.16
7.3.290.0060.01116.31
7.3.280.0110.00716.28
7.3.270.0090.00917.40
7.3.260.0110.00516.45
7.3.250.0110.00916.41
7.3.240.0060.01216.27
7.3.230.0090.00616.61
7.3.210.0080.00816.46
7.3.200.0140.00619.39
7.3.190.0110.00716.30
7.3.180.0100.00616.31
7.3.170.0060.01216.30
7.3.160.0060.00916.52
7.3.130.0070.01014.58
7.3.120.0090.00914.67
7.3.110.0120.00615.02
7.3.100.0000.00814.91
7.3.90.0030.00914.79
7.3.80.0000.01015.07
7.3.70.0100.00314.89
7.3.60.0030.01214.83
7.3.50.0000.01514.71
7.3.40.0130.00314.46
7.3.30.0100.00614.85
7.3.20.0060.00916.79
7.3.10.0030.01216.39
7.3.00.0040.00816.48
7.2.330.0120.00616.61
7.2.320.0120.00616.58
7.2.310.0110.01416.41
7.2.300.0070.01016.45
7.2.290.0030.01416.52
7.2.260.0040.01214.82
7.2.250.0100.00714.82
7.2.240.0000.01214.66
7.2.230.0070.00415.00
7.2.220.0090.00614.96
7.2.210.0060.00915.14
7.2.200.0040.00814.72
7.2.190.0090.00315.08
7.2.180.0090.00614.74
7.2.170.0060.00314.73
7.2.160.0060.01014.96
7.2.150.0100.00616.64
7.2.140.0030.00916.64
7.2.130.0110.00316.92
7.2.120.0030.01016.39
7.2.110.0120.00316.81
7.2.100.0000.01116.67
7.2.90.0030.01016.66
7.2.80.0070.00716.70
7.2.70.0000.01516.82
7.2.60.0040.01216.75
7.2.50.0120.00316.67
7.2.40.0090.00616.78
7.2.30.0060.00316.93
7.2.20.0100.00316.61
7.2.10.0090.00616.91
7.2.00.0030.01018.04
7.1.330.0120.00315.63
7.1.320.0070.00415.57
7.1.310.0050.00515.70
7.1.300.0030.01015.55
7.1.290.0030.00615.48
7.1.280.0080.00415.61
7.1.270.0000.01615.48
7.1.260.0060.00615.58
7.1.250.0060.00615.76
7.1.240.0060.00615.53
7.1.230.0080.00315.64
7.1.220.0030.00615.52
7.1.210.0090.00315.55
7.1.200.0000.01215.56
7.1.190.0060.00615.71
7.1.180.0140.00015.60
7.1.170.0060.00315.53
7.1.160.0000.01315.29
7.1.150.0000.01415.79
7.1.140.0030.00915.78
7.1.130.0030.00615.39
7.1.120.0070.00715.29
7.1.110.0060.00615.48
7.1.100.0060.00616.85
7.1.90.0080.00815.64
7.1.80.0000.01215.49
7.1.70.0020.01016.23
7.1.60.0080.01117.42
7.1.50.0100.00816.13
7.1.40.0000.01015.50
7.1.30.0090.00615.61
7.1.20.0030.00815.60
7.1.10.0090.00615.50
7.1.00.0050.04318.96
7.0.330.0030.00915.31
7.0.320.0030.00715.01
7.0.310.0000.01415.08
7.0.300.0070.00315.08
7.0.290.0070.00315.03
7.0.280.0080.00415.23
7.0.270.0060.00615.34
7.0.260.0070.00715.45
7.0.250.0050.00515.49
7.0.240.0040.00715.39
7.0.230.0040.01115.17
7.0.220.0030.00715.48
7.0.210.0100.00615.24
7.0.200.0090.00215.90
7.0.190.0070.00715.41
7.0.180.0060.00615.10
7.0.170.0030.00715.06
7.0.160.0070.00715.32
7.0.150.0060.00615.41
7.0.140.0030.02218.58
7.0.130.0000.01315.45
7.0.120.0060.00915.38
7.0.110.0070.02317.71
7.0.100.0100.04217.60
7.0.90.0090.02517.71
7.0.80.0080.04017.65
7.0.70.0020.04517.65
7.0.60.0040.04117.53
7.0.50.0080.04517.71
7.0.40.0120.02916.52
7.0.30.0060.02616.54
7.0.20.0140.02116.62
7.0.10.0040.04116.49
7.0.00.0070.03416.50
5.6.400.0040.00813.86
5.6.390.0040.01214.45
5.6.380.0040.01114.22
5.6.370.0120.00014.44
5.6.360.0030.00714.29
5.6.350.0030.01014.33
5.6.340.0040.00814.36
5.6.330.0040.00714.40
5.6.320.0030.00714.37
5.6.310.0060.00614.15
5.6.300.0030.00914.46
5.6.290.0130.00314.41
5.6.280.0000.04517.52
5.6.270.0000.01614.04
5.6.260.0020.02617.28
5.6.250.0100.03617.54
5.6.240.0110.04117.30
5.6.230.0080.03717.41
5.6.220.0080.03117.44
5.6.210.0030.03817.32
5.6.200.0120.03817.39
5.6.190.0030.05217.33
5.6.180.0080.03317.45
5.6.170.0030.04717.28
5.6.160.0020.02717.33
5.6.150.0050.02317.44
5.6.140.0050.03217.33
5.6.130.0000.04817.43
5.6.120.0030.02317.32
5.6.110.0030.03517.52
5.6.100.0020.04517.51
5.6.90.0040.04117.45
5.6.80.0020.03816.98
5.6.70.0030.04117.02
5.6.60.0090.02017.11
5.6.50.0050.02317.13
5.6.40.0050.03516.94
5.6.30.0070.04416.93
5.6.20.0050.04417.09
5.6.10.0120.03417.12
5.6.00.0070.02716.92
5.5.380.0030.04215.91
5.5.370.0030.02315.84
5.5.360.0070.03515.90
5.5.350.0080.04015.85
5.5.340.0100.04115.99
5.5.330.0030.02816.27
5.5.320.0110.03716.01
5.5.310.0080.02716.04
5.5.300.0080.02316.14
5.5.290.0000.02615.90
5.5.280.0050.03016.03
5.5.270.0060.03716.10
5.5.260.0050.02415.87
5.5.250.0070.03516.07
5.5.240.0030.02615.61
5.5.230.0050.02815.71
5.5.220.0030.03815.62
5.5.210.0060.01815.68
5.5.200.0070.02215.67
5.5.190.0080.02315.87
5.5.180.0070.03015.65
5.5.170.0090.00614.19
5.5.160.0050.04215.77
5.5.150.0030.03215.52
5.5.140.0070.03115.67
5.5.130.0050.03515.47
5.5.120.0070.03715.81
5.5.110.0070.02215.45
5.5.100.0060.02815.78
5.5.90.0000.02615.76
5.5.80.0050.03915.72
5.5.70.0020.02715.70
5.5.60.0040.03615.63
5.5.50.0080.02315.53
5.5.40.0080.01815.66
5.5.30.0100.02915.46
5.5.20.0060.03015.45
5.5.10.0040.03915.69
5.5.00.0060.02515.57
5.4.450.0050.03015.17
5.4.440.0030.02315.15
5.4.430.0120.03315.13
5.4.420.0020.02615.17
5.4.410.0080.03615.13
5.4.400.0020.02214.87
5.4.390.0050.02014.84
5.4.380.0070.01814.86
5.4.370.0060.02115.08
5.4.360.0000.02714.91
5.4.350.0050.03015.09
5.4.340.0040.02014.96
5.4.330.0030.00610.85
5.4.320.0020.02315.11
5.4.310.0050.01814.89
5.4.300.0020.02414.86
5.4.290.0050.02615.06
5.4.280.0070.02914.94
5.4.270.0120.03214.94
5.4.260.0030.03514.99
5.4.250.0050.02014.88
5.4.240.0050.03515.02
5.4.230.0050.02514.83
5.4.220.0090.02515.06
5.4.210.0040.03414.94
5.4.200.0080.03314.91
5.4.190.0100.01814.69
5.4.180.0070.02314.72
5.4.170.0030.02914.86
5.4.160.0030.04014.76
5.4.150.0120.03814.99
5.4.140.0030.02313.63
5.4.130.0030.02513.73
5.4.120.0080.01813.51
5.4.110.0060.03113.60
5.4.100.0030.02313.71
5.4.90.0050.02513.66
5.4.80.0040.03013.49
5.4.70.0050.02113.75
5.4.60.0030.03313.62
5.4.50.0080.03313.55
5.4.40.0060.03813.63
5.4.30.0100.03013.46
5.4.20.0060.02113.66
5.4.10.0030.02713.65
5.4.00.0050.04013.30
5.3.290.0000.05714.66
5.3.280.0030.05014.63
5.3.270.0030.07714.84
5.3.260.0100.04314.64
5.3.250.0100.06714.74
5.3.240.0100.03714.75
5.3.230.0070.05314.59
5.3.220.0070.07314.56
5.3.210.0100.06714.65
5.3.200.0170.05314.65
5.3.190.0000.04314.64
5.3.180.0030.03714.57
5.3.170.0070.03714.64
5.3.160.0130.07014.69
5.3.150.0100.06314.61
5.3.140.0030.05314.52
5.3.130.0200.06314.51
5.3.120.0100.06714.57
5.3.110.0030.04314.58
5.3.100.0130.05713.90
5.3.90.0100.09314.25
5.3.80.0000.05314.08
5.3.70.0070.05714.16
5.3.60.0000.04014.02
5.3.50.0070.07013.81
5.3.40.0070.07713.94
5.3.30.0070.05013.92
5.3.20.0130.06713.77
5.3.10.0030.05713.65
5.3.00.0030.04713.62
5.2.170.0000.05711.97
5.2.160.0170.05011.97
5.2.150.0100.05711.97
5.2.140.0030.06311.97
5.2.130.0070.03711.97
5.2.120.0000.03711.97
5.2.110.0070.06311.97
5.2.100.0000.04711.97
5.2.90.0100.04311.97
5.2.80.0000.03711.97
5.2.70.0070.06311.97
5.2.60.0030.03011.97
5.2.50.0030.03311.97
5.2.40.0070.03011.97
5.2.30.0070.04011.97
5.2.20.0100.05311.97
5.2.10.0000.04311.97
5.2.00.0070.05311.97
5.1.60.0000.05311.97
5.1.50.0030.03311.97
5.1.40.0030.04311.97
5.1.30.0030.06011.97
5.1.20.0070.04011.97
5.1.10.0000.04311.97
5.1.00.0030.02711.97
5.0.50.0070.04011.97
5.0.40.0070.03311.97
5.0.30.0030.06011.97
5.0.20.0000.02311.97
5.0.10.0100.03011.97
5.0.00.0070.05711.97
4.4.90.0030.01311.97
4.4.80.0100.01311.97
4.4.70.0030.03711.97
4.4.60.0030.02711.97
4.4.50.0100.01011.97
4.4.40.0000.03011.97
4.4.30.0030.01711.97
4.4.20.0000.04011.97
4.4.10.0070.02011.97
4.4.00.0070.04711.97
4.3.110.0000.03311.97
4.3.100.0000.02011.97
4.3.90.0030.04711.97
4.3.80.0000.05011.97
4.3.70.0000.02011.97
4.3.60.0030.03011.97
4.3.50.0000.03311.97
4.3.40.0030.04711.97
4.3.30.0000.03011.97
4.3.20.0030.02311.97
4.3.10.0000.03711.97
4.3.00.0000.01711.97

preferences:
47.68 ms | 400 KiB | 5 Q