3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A; echo __COMPILER_HALT_OFFSET__; __halt_compiler();

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.1.100.0070.00017.35
8.1.90.0020.00517.32
8.1.80.0000.00717.28
8.1.70.0030.00617.32
8.1.60.0060.00317.46
8.1.50.0080.00017.43
8.1.40.0000.00717.39
8.1.30.0050.00317.55
8.1.20.0000.00717.34
8.1.10.0040.00417.48
8.1.00.0030.00517.26
8.0.230.0060.00316.82
8.0.220.0030.00316.69
8.0.210.0070.00016.74
8.0.200.0030.00316.71
8.0.190.0070.00016.66
8.0.180.0000.00716.84
8.0.170.0090.00016.84
8.0.160.0000.00716.61
8.0.150.0040.00416.72
8.0.140.0030.00316.75
8.0.130.0030.00313.11
8.0.120.0040.00416.73
8.0.110.0040.00416.65
8.0.100.0000.00716.73
8.0.90.0000.00716.58
8.0.80.0140.00616.72
8.0.70.0040.00416.63
8.0.60.0050.00316.63
8.0.50.0040.00416.70
8.0.30.0090.00716.98
8.0.20.0100.00917.40
8.0.10.0000.00716.68
8.0.00.0090.00816.75
7.4.300.0030.00316.46
7.4.290.0030.00316.35
7.4.280.0000.00716.46
7.4.270.0030.00316.41
7.4.260.0020.00516.41
7.4.250.0040.00416.42
7.4.240.0020.00516.42
7.4.230.0030.00316.36
7.4.220.0190.00616.53
7.4.210.0100.00516.34
7.4.200.0030.00316.35
7.4.160.0060.00916.17
7.4.150.0090.00817.40
7.4.140.0160.00717.86
7.4.130.0110.01116.34
7.4.120.0130.00516.39
7.4.110.0140.00716.51
7.4.100.0070.01416.50
7.4.90.0110.00616.59
7.4.80.0150.00919.39
7.4.70.0090.00716.28
7.4.60.0100.00716.45
7.4.50.0030.00316.39
7.4.40.0060.01116.39
7.4.30.0090.00916.34
7.4.00.0000.01614.84
7.3.330.0000.00512.97
7.3.320.0000.00512.98
7.3.310.0030.00316.22
7.3.300.0030.00316.11
7.3.290.0070.00015.97
7.3.280.0110.00716.12
7.3.270.0100.01317.40
7.3.260.0140.00316.33
7.3.250.0090.00916.29
7.3.240.0090.00716.45
7.3.230.0090.01016.39
7.3.210.0120.00616.20
7.3.200.0110.00619.39
7.3.190.0130.00316.06
7.3.180.0080.00816.31
7.3.170.0130.00316.47
7.3.160.0090.00616.38
7.2.330.0030.01416.65
7.2.320.0130.01716.29
7.2.310.0100.01016.41
7.2.300.0150.00316.63
7.2.290.0100.00816.43
7.2.110.0560.01016.41
7.2.60.0120.00316.59
7.1.200.0080.00415.73
7.1.70.0030.00916.82
7.1.60.0100.01419.59
7.1.50.0200.01734.65
7.1.00.0170.06722.33
7.0.200.0030.00616.38
7.0.60.0130.08019.91
7.0.50.0070.06717.80
7.0.40.0070.05019.98
7.0.30.0330.05320.04
7.0.20.0270.04020.12
7.0.10.0130.04320.09
7.0.00.0070.05020.01
5.6.280.0070.07020.89
5.6.210.0000.09020.53
5.6.200.0070.06018.18
5.6.190.0100.08020.46
5.6.180.3630.04020.77
5.6.170.0370.06720.48
5.6.160.0070.07720.48
5.6.150.0100.07018.12
5.6.140.0130.06318.16
5.6.130.0030.04018.20
5.6.120.0030.05020.89
5.6.110.0070.08321.03
5.6.100.0030.04021.13
5.6.90.0070.05320.96
5.6.80.0030.07720.36
5.6.70.3030.03020.27
5.5.350.0170.08720.34
5.5.340.0030.03717.95
5.5.330.0030.04320.40
5.5.320.0270.05320.27
5.5.310.0200.04020.21
5.5.300.0070.07717.90
5.5.290.0100.07317.87
5.5.280.0030.08020.88
5.5.270.0130.08020.67
5.5.260.0130.03720.85
5.5.250.0070.04720.69
5.5.240.0000.04320.28
5.4.450.1070.06319.12
5.4.440.0800.05719.44
5.4.430.0900.00019.54
5.4.420.0830.00019.63
5.4.410.0700.00019.11
5.4.400.0700.00019.26
5.4.390.0730.00019.17
5.4.380.0800.00019.08
5.4.370.0700.00019.17
5.4.360.0730.00019.31
5.4.350.0770.00019.16
5.4.340.0730.00019.34
5.4.320.0830.00018.84
5.4.310.0930.00019.26
5.4.300.0770.00019.25
5.4.290.0730.00018.82
5.4.280.0870.00019.25
5.4.270.0830.00019.26
5.4.260.0700.00019.04
5.4.250.0730.00018.81
5.4.240.0700.00018.84
5.4.230.0730.00019.18
5.4.220.1000.00019.25
5.4.210.0670.00019.17
5.4.200.0730.00016.91
5.4.190.0700.00019.13
5.4.180.0870.00018.91
5.4.170.0930.00019.00
5.4.160.0900.00018.99
5.4.150.0870.00019.14
5.4.140.0870.00016.43
5.4.130.0630.00016.38
5.4.120.0730.00016.18
5.4.110.0870.00016.55
5.4.100.0670.00016.41
5.4.90.0700.00016.57
5.4.80.0730.00016.25
5.4.70.0730.00016.54
5.4.60.0670.00016.48
5.4.50.0700.00016.16
5.4.40.0930.00016.09
5.4.30.0670.00016.29
5.4.20.0630.00016.50
5.4.10.0670.00016.31
5.4.00.0700.00015.63

preferences:
12.41 ms | 406 KiB | 5 Q