3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar; class A {} class_alias('Foo\Bar\A', 'B'); echo B::class;

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.0140.00718.18
8.3.50.0090.00618.30
8.3.40.0070.00718.57
8.3.30.0110.00318.59
8.3.20.0080.00020.04
8.3.10.0070.00021.60
8.3.00.0040.00423.52
8.2.180.0100.01016.63
8.2.170.0090.00622.96
8.2.160.0110.00421.05
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0040.00420.51
8.2.120.0050.00326.35
8.2.110.0060.00319.33
8.2.100.0110.00018.03
8.2.90.0030.00519.09
8.2.80.0060.00317.97
8.2.70.0090.00017.38
8.2.60.0030.00618.04
8.2.50.0060.00318.10
8.2.40.0040.00420.65
8.2.30.0040.00421.01
8.2.20.0000.00717.97
8.2.10.0040.00418.16
8.2.00.0050.00318.02
8.1.270.0070.00020.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00423.81
8.1.230.0070.00717.42
8.1.220.0000.00817.74
8.1.210.0000.00718.77
8.1.200.0030.00617.13
8.1.190.0070.00216.73
8.1.180.0060.00318.10
8.1.170.0080.00021.89
8.1.160.0040.00418.64
8.1.150.0070.00021.82
8.1.140.0040.00419.45
8.1.130.0000.00618.87
8.1.120.0000.00717.24
8.1.110.0030.00317.31
8.1.100.0020.00517.35
8.1.90.0000.00717.21
8.1.80.0000.00717.28
8.1.70.0040.00417.23
8.1.60.0040.00417.33
8.1.50.0000.00817.29
8.1.40.0060.00317.23
8.1.30.0040.00417.41
8.1.20.0000.00817.43
8.1.10.0070.00017.43
8.1.00.0030.00617.38
8.0.300.0080.00018.77
8.0.290.0080.00016.63
8.0.280.0030.00318.38
8.0.270.0080.00017.06
8.0.260.0030.00317.23
8.0.250.0030.00316.86
8.0.240.0040.00416.80
8.0.230.0070.00316.80
8.0.220.0070.00016.63
8.0.210.0000.00716.65
8.0.200.0050.00316.82
8.0.190.0070.00016.71
8.0.180.0030.00316.65
8.0.170.0040.00416.77
8.0.160.0000.00816.82
8.0.150.0160.00016.73
8.0.140.0040.00416.61
8.0.130.0000.00713.24
8.0.120.0000.00716.75
8.0.110.0000.00716.60
8.0.100.0040.00416.79
8.0.90.0000.00816.65
8.0.80.0090.00616.70
8.0.70.0080.00016.53
8.0.60.0000.00716.61
8.0.50.0040.00416.75
8.0.30.0100.00816.91
8.0.20.0110.00717.40
8.0.10.0070.00016.89
8.0.00.0100.00716.64
7.4.330.0060.00015.55
7.4.320.0030.00316.37
7.4.300.0000.00616.36
7.4.290.0000.00716.34
7.4.280.0040.00416.37
7.4.270.0030.00316.46
7.4.260.0070.00016.42
7.4.250.0030.00316.47
7.4.240.0000.00716.37
7.4.230.0050.00316.56
7.4.220.0050.01316.54
7.4.210.0070.00916.46
7.4.200.0040.00416.25
7.4.160.0060.01116.39
7.4.150.0100.00717.40
7.4.140.0080.01017.86
7.4.130.0100.00916.37
7.4.120.0080.01316.50
7.4.110.0090.00616.47
7.4.100.0080.00916.49
7.4.90.0050.01416.29
7.4.80.0080.01219.39
7.4.70.0080.00816.21
7.4.60.0040.01216.47
7.4.50.0040.01116.37
7.4.40.0040.01916.53
7.4.30.0090.00916.41
7.4.00.0080.00814.99
7.3.330.0020.00213.01
7.3.320.0000.00512.95
7.3.310.0000.00716.21
7.3.300.0060.00016.12
7.3.290.0030.00316.05
7.3.280.0080.01116.16
7.3.270.0090.00917.40
7.3.260.0090.00716.53
7.3.250.0160.00516.28
7.3.240.0120.00416.28
7.3.230.0060.01516.16
7.3.210.0060.01316.21
7.3.200.0120.00616.47
7.3.190.0050.01016.47
7.3.180.0000.01616.20
7.3.170.0120.00916.39
7.3.160.0120.00416.35
7.2.330.0070.01016.27
7.2.320.0070.01016.41
7.2.310.0130.00316.56
7.2.300.0060.01416.62
7.2.290.0150.00316.42
7.2.60.0130.00316.40
7.1.200.0060.00315.67
7.1.70.0000.01216.95
7.1.60.0090.00615.11
7.1.40.2970.07038.54
7.1.30.2830.02032.39
7.1.20.0670.01332.55
7.1.10.0270.01314.40
7.1.00.2970.01714.58
7.0.200.0040.01116.56
7.0.180.0230.07320.07
7.0.170.1800.00714.41
7.0.160.0470.01014.19
7.0.150.2930.01014.26
7.0.140.0300.01714.25
7.0.130.3200.01014.52
7.0.120.2300.01014.55
7.0.110.0570.00714.36
7.0.100.0300.01014.37
7.0.90.2730.01014.05
7.0.80.2830.01014.42
7.0.70.2570.01314.25
7.0.60.3330.01314.25
7.0.50.2370.00714.37
7.0.40.2230.01314.45
7.0.30.3200.00714.46
7.0.20.3030.01314.18
7.0.10.3270.01714.34
7.0.00.2230.01314.41

preferences:
54.17 ms | 400 KiB | 5 Q