3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar; class A {} \alias_class('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.0190.00318.11
8.3.50.0100.00717.93
8.3.40.0070.00718.97
8.3.30.0070.00718.71
8.3.20.0070.00020.04
8.3.10.0030.00521.79
8.3.00.0040.00423.70
8.2.180.0180.00316.88
8.2.170.0140.00022.96
8.2.160.0040.01121.02
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00020.57
8.2.120.0090.00026.35
8.2.110.0090.00020.60
8.2.100.0030.00818.16
8.2.90.0040.00419.28
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0060.00317.93
8.2.50.0040.00818.10
8.2.40.0030.00522.23
8.2.30.0000.00821.03
8.2.20.0080.00017.98
8.2.10.0040.00418.04
8.2.00.0040.00418.09
8.1.280.0100.01025.92
8.1.270.0070.00020.70
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00317.64
8.1.230.0110.00417.42
8.1.220.0090.00417.74
8.1.210.0050.00318.77
8.1.200.0050.00517.22
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00422.11
8.1.160.0000.00718.76
8.1.150.0000.00721.77
8.1.140.0040.00419.45
8.1.130.0030.00318.86
8.1.120.0000.00717.26
8.1.110.0050.00217.21
8.1.100.0070.00017.27
8.1.90.0070.00017.21
8.1.80.0080.00017.34
8.1.70.0000.00717.23
8.1.60.0000.00817.47
8.1.50.0040.00417.44
8.1.40.0060.00317.50
8.1.30.0000.00817.51
8.1.20.0030.00617.57
8.1.10.0080.00017.39
8.1.00.0040.00417.34
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0020.00518.25
8.0.270.0000.00717.10
8.0.260.0060.00317.07
8.0.250.0030.00316.89
8.0.240.0050.00516.82
8.0.230.0030.00616.92
8.0.220.0040.00416.87
8.0.210.0030.00316.86
8.0.200.0000.00616.98
8.0.190.0070.00016.96
8.0.180.0000.00716.89
8.0.170.0030.00516.96
8.0.160.0030.00316.77
8.0.150.0070.00016.84
8.0.140.0000.00816.84
8.0.130.0000.00513.37
8.0.120.0030.00516.89
8.0.110.0080.00016.92
8.0.100.0040.00416.74
8.0.90.0000.00816.94
8.0.80.0090.01216.87
8.0.70.0000.00716.80
8.0.60.0000.00716.82
8.0.50.0030.00516.92
8.0.30.0090.00917.13
8.0.20.0100.00917.40
8.0.10.0040.00416.76
8.0.00.0040.01316.92
7.4.330.0000.00715.55
7.4.320.0050.00216.23
7.4.300.0030.00316.36
7.4.290.0030.00516.59
7.4.280.0050.00216.43
7.4.270.0000.00716.44
7.4.260.0000.00716.34
7.4.250.0030.00316.47
7.4.240.0000.00816.44
7.4.230.0050.00316.33
7.4.220.0110.00716.39
7.4.210.0080.00916.40
7.4.200.0030.00316.46
7.4.160.0120.00316.35
7.4.150.0090.00917.40
7.4.140.0080.01117.86
7.4.130.0070.01016.50
7.4.120.0060.01616.38
7.4.110.0040.01216.32
7.4.100.0030.01716.59
7.4.90.0070.01116.42
7.4.80.0090.01319.39
7.4.70.0110.00616.45
7.4.60.0060.00916.34
7.4.50.0060.01016.39
7.4.40.0090.00916.54
7.4.30.0090.00916.39
7.4.10.0060.01215.05
7.4.00.0070.00914.91
7.3.330.0050.00013.31
7.3.320.0060.00013.10
7.3.310.0000.00716.18
7.3.300.0030.00316.20
7.3.290.0030.00316.16
7.3.280.0060.01216.28
7.3.270.0090.00917.40
7.3.260.0100.00916.24
7.3.250.0070.01316.36
7.3.240.0150.00516.37
7.3.230.0100.00716.32
7.3.210.0130.01016.50
7.3.200.0030.01416.46
7.3.190.0090.00616.58
7.3.180.0060.01116.21
7.3.170.0030.01616.41
7.3.160.0060.00916.48
7.3.130.0060.01214.73
7.3.120.0060.00614.71
7.3.110.0120.00614.63
7.3.100.0060.00914.98
7.3.90.0000.01814.82
7.3.80.0040.00814.55
7.3.70.0030.00914.84
7.3.60.0060.00914.85
7.3.50.0000.01814.79
7.3.40.0000.01414.74
7.3.30.0040.01114.76
7.3.20.0110.00716.62
7.3.10.0070.00916.28
7.3.00.0100.00616.32
7.2.330.0030.01316.54
7.2.320.0060.01216.46
7.2.310.0160.00316.47
7.2.300.0150.01016.60
7.2.290.0090.00916.37
7.2.260.0070.01014.91
7.2.250.0120.00415.01
7.2.240.0000.01414.80
7.2.230.0090.00615.07
7.2.220.0040.01214.93
7.2.210.0090.00915.16
7.2.200.0060.00615.03
7.2.190.0000.01815.04
7.2.180.0000.01414.96
7.2.170.0060.00615.00
7.2.160.0070.00714.95
7.2.150.0050.00516.85
7.2.140.0030.00916.72
7.2.130.0090.01016.74
7.2.120.0100.00616.61
7.2.110.0070.00816.50
7.2.100.0070.01016.58
7.2.90.0100.00516.67
7.2.80.0090.00916.62
7.2.70.0100.00616.66
7.2.60.0020.01016.68
7.2.50.0070.00616.62
7.2.40.0100.00516.64
7.2.30.0120.00716.70
7.2.20.0100.00816.57
7.2.10.0100.00816.59
7.2.00.0090.00717.66
7.1.330.0100.00315.73
7.1.320.0130.00315.77
7.1.310.0030.00815.75
7.1.300.0060.00915.73
7.1.290.0040.01115.63
7.1.280.0070.00715.62
7.1.270.0030.01015.51
7.1.260.0070.01015.59
7.1.250.0110.00515.46
7.1.240.0030.00615.40
7.1.230.0080.00615.54
7.1.220.0070.01115.24
7.1.210.0090.00015.61
7.1.200.0060.00615.75
7.1.190.0060.00915.38
7.1.180.0040.00415.79
7.1.170.0060.00615.60
7.1.160.0000.01315.50
7.1.150.0000.00815.67
7.1.140.0090.00615.60
7.1.130.0000.01615.73
7.1.120.0060.00615.39
7.1.110.0070.00715.59
7.1.100.0060.00615.77
7.1.90.0060.01215.49
7.1.80.0090.00615.45
7.1.70.0080.00416.25
7.1.60.0090.00715.39
7.1.50.0070.00716.25
7.1.40.1200.04226.91
7.1.30.1170.01223.80
7.1.20.1300.01024.05
7.1.10.1650.00515.18
7.1.00.1070.01215.00
7.0.330.0110.00415.11
7.0.320.0000.00915.05
7.0.310.0070.00715.41
7.0.300.0040.00715.27
7.0.290.0040.00815.30
7.0.280.0030.01315.06
7.0.270.0000.01415.45
7.0.260.0000.01515.10
7.0.250.0080.00315.34
7.0.240.0070.00715.14
7.0.230.0030.01715.35
7.0.220.0100.00715.04
7.0.210.0100.01015.21
7.0.200.0060.00815.83
7.0.190.0040.00415.34
7.0.180.1320.03317.82
7.0.170.1150.00414.69
7.0.160.1470.00714.86
7.0.150.1630.01014.78
7.0.140.1340.00614.65
7.0.130.1000.00714.92
7.0.120.0970.00314.96
7.0.110.0850.01014.79
7.0.100.1280.00814.68
7.0.90.0930.00614.76
7.0.80.1030.00814.83
7.0.70.1000.01014.92
7.0.60.1260.00714.79
7.0.50.0830.01214.75
7.0.40.1150.01113.86
7.0.30.1160.01113.89
7.0.20.0140.00913.94
7.0.10.1020.01013.88
7.0.00.1080.01213.94
5.6.400.0030.00614.30
5.6.390.0040.00714.04
5.6.380.0060.00914.01
5.6.370.0000.00813.67
5.6.360.0090.00014.29
5.6.350.0040.00714.05
5.6.340.0040.01114.20
5.6.330.0070.01014.33
5.6.320.0060.00613.77
5.6.310.0040.00714.45
5.6.300.0070.01014.10
5.6.290.0070.00713.96
5.6.280.0100.00614.05
5.6.270.0000.01114.07
5.6.260.0000.01414.05
5.6.250.0100.00314.06
5.6.240.0090.00014.04
5.6.230.0030.00614.14
5.6.220.0070.01013.86
5.6.210.0060.00913.98
5.6.200.0060.00614.21
5.6.190.0030.01014.28
5.6.180.0040.00414.20
5.6.170.0090.00313.93
5.6.160.0030.01414.29
5.6.150.0090.00613.98
5.6.140.0000.01414.45
5.6.130.0050.00514.24
5.6.120.0030.00614.20
5.6.110.0070.00313.91
5.6.100.0000.01313.97
5.6.90.0100.00313.91
5.6.80.0100.00014.05
5.6.70.0040.00813.78
5.6.60.0030.00913.98
5.6.50.0040.01113.81
5.6.40.0030.00913.87
5.6.30.0060.00913.89
5.6.20.0120.00014.13
5.6.10.0060.01213.78
5.6.00.0110.00714.04

preferences:
35.21 ms | 400 KiB | 5 Q