3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foobar {} class_alias('foobar', 'static');

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.0100.01016.75
8.3.50.0110.00716.38
8.3.40.0110.01118.67
8.3.30.0140.00018.76
8.3.20.0030.01020.04
8.3.10.0080.00023.65
8.3.00.0000.00823.71
8.2.180.0120.00618.41
8.2.170.0040.01122.96
8.2.160.0070.00720.57
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0080.00019.73
8.2.120.0100.01026.35
8.2.110.0030.00719.37
8.2.100.0030.00817.78
8.2.90.0030.00618.98
8.2.80.0030.00517.97
8.2.70.0030.00617.38
8.2.60.0080.00017.80
8.2.50.0060.00318.07
8.2.40.0000.00722.30
8.2.30.0030.00319.21
8.2.20.0070.00017.55
8.2.10.0030.00517.97
8.2.00.0000.00717.88
8.1.280.0090.00925.92
8.1.270.0060.00323.92
8.1.260.0030.00526.35
8.1.250.0180.00028.09
8.1.240.0030.01721.19
8.1.230.0080.00317.42
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0060.00317.11
8.1.190.0050.00317.10
8.1.180.0030.00618.10
8.1.170.0040.00418.39
8.1.160.0020.00520.58
8.1.150.0050.00218.71
8.1.140.0040.00419.50
8.1.130.0000.00717.61
8.1.120.0000.00717.36
8.1.110.0050.00217.21
8.1.100.0070.00017.14
8.1.90.0040.00417.35
8.1.80.0000.00817.29
8.1.70.0000.00717.23
8.1.60.0000.00817.44
8.1.50.0000.00917.36
8.1.40.0080.00017.23
8.1.30.0040.00417.45
8.1.20.0040.00417.47
8.1.10.0000.00817.37
8.1.00.0040.00417.34
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0000.00818.23
8.0.270.0060.00317.07
8.0.260.0000.00617.08
8.0.250.0030.00316.89
8.0.240.0030.00316.75
8.0.230.0030.00316.75
8.0.220.0030.00316.85
8.0.210.0030.00316.84
8.0.200.0000.00716.74
8.0.190.0000.00716.90
8.0.180.0050.00516.77
8.0.170.0000.00816.89
8.0.160.0040.00416.79
8.0.150.0000.00716.70
8.0.140.0000.00716.75
8.0.130.0030.00313.24
8.0.120.0030.00616.74
8.0.110.0000.00716.79
8.0.100.0040.00416.88
8.0.90.0050.00316.77
8.0.80.0090.00616.75
8.0.70.0040.00416.83
8.0.60.0040.00416.61
8.0.50.0070.00016.85
8.0.30.0130.00516.89
8.0.20.0070.01117.40
8.0.10.0080.00016.83
8.0.00.0110.01116.61
7.4.330.0050.00016.89
7.4.320.0000.00616.32
7.4.300.0030.00316.26
7.4.290.0000.00616.37
7.4.280.0030.00316.39
7.4.270.0000.00616.47
7.4.260.0030.00616.45
7.4.250.0000.00816.47
7.4.240.0020.00516.42
7.4.230.0080.00016.34
7.4.220.0030.01516.40
7.4.210.0090.00916.47
7.4.200.0000.00716.11
7.4.160.0090.00616.24
7.4.150.0120.00617.40
7.4.140.0140.00717.86
7.4.130.0120.00616.47
7.4.120.0110.00816.36
7.4.110.0120.00616.44
7.4.100.0090.00916.52
7.4.90.0100.01116.39
7.4.80.0150.00719.39
7.4.70.0110.00716.18
7.4.60.0040.01116.44
7.4.50.0070.01016.21
7.4.40.0130.00316.13
7.4.30.0120.00616.26
7.4.00.0090.00615.03
7.3.330.0000.00513.06
7.3.320.0030.00313.25
7.3.310.0030.00316.28
7.3.300.0030.00316.20
7.3.290.0030.00316.24
7.3.280.0090.00816.18
7.3.270.0140.00417.40
7.3.260.0180.00616.20
7.3.250.0070.01016.27
7.3.240.0110.00916.22
7.3.230.0130.00416.39
7.3.210.0130.00316.18
7.3.200.0060.01219.39
7.3.190.0150.00316.31
7.3.180.0140.00316.39
7.3.170.0130.00616.27
7.3.160.0050.01116.23
7.2.330.0140.00416.16
7.2.320.0030.01416.28
7.2.310.0030.01316.40
7.2.300.0140.00316.32
7.2.290.0190.00316.30
7.2.60.0140.00016.64
7.2.00.0100.01018.87
7.1.200.0110.00015.52
7.1.100.0040.00817.78
7.1.70.0070.00016.88
7.1.60.0060.00619.30
7.1.50.0070.00416.95
7.1.00.0070.07322.46
7.0.200.0030.00616.72
7.0.60.0200.07321.67
7.0.50.0000.04317.83
7.0.40.0070.05720.24
7.0.30.0270.04020.23
7.0.20.0270.08320.16
7.0.10.0100.08720.16
7.0.00.0070.07720.10
5.6.280.0000.05321.06
5.6.210.0130.05020.51
5.6.200.0170.07318.16
5.6.190.0100.08720.41
5.6.180.0470.07020.58
5.6.170.0470.07320.62
5.6.160.0170.07320.55
5.6.150.0000.05318.25
5.6.140.0070.07318.27
5.6.130.0130.05718.21
5.6.120.0070.06720.89
5.6.110.0100.07321.13
5.6.100.0070.08320.98
5.6.90.0030.07021.00
5.6.80.0130.08020.38
5.5.350.0230.07720.46
5.5.340.0070.08017.98
5.5.330.0030.08720.13
5.5.320.0370.06320.30
5.5.310.0330.07320.28
5.5.300.0030.05017.98
5.5.290.0200.06017.94
5.5.280.0130.06320.87
5.5.270.0130.07020.76
5.5.260.0100.06020.76
5.5.250.0130.07720.64
5.5.240.0130.04020.25

preferences:
52.03 ms | 400 KiB | 5 Q