3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test { use Test2; // use Test3; // use Test2; // use Test2; class MyClass { } use Test3; }

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.0040.01116.63
8.3.50.0100.01222.92
8.3.40.0070.00718.67
8.3.30.0070.00718.91
8.3.20.0040.00420.18
8.3.10.0000.00923.48
8.3.00.0040.00419.26
8.2.180.0070.01118.16
8.2.170.0070.00722.96
8.2.160.0060.00920.26
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.01026.16
8.2.120.0000.00721.09
8.2.110.0060.00321.07
8.2.100.0070.00417.72
8.2.90.0040.00419.09
8.2.80.0080.00017.97
8.2.70.0030.00617.38
8.2.60.0080.00017.80
8.2.50.0040.00418.10
8.2.40.0050.00319.76
8.2.30.0040.00417.85
8.2.20.0040.00417.63
8.2.10.0040.00417.84
8.2.00.0000.00717.60
8.1.280.0070.01425.92
8.1.270.0030.00523.64
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0030.00620.60
8.1.230.0040.00817.77
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.10
8.1.190.0030.00617.10
8.1.180.0050.00318.10
8.1.170.0000.00818.52
8.1.160.0040.00421.99
8.1.150.0100.00018.77
8.1.140.0070.00317.25
8.1.130.0070.00017.79
8.1.120.0070.00017.32
8.1.110.0040.00417.31
8.1.100.0040.00417.38
8.1.90.0000.00817.20
8.1.80.0040.00417.36
8.1.70.0030.00317.29
8.1.60.0030.00617.32
8.1.50.0030.00617.21
8.1.40.0000.00817.38
8.1.30.0050.00317.36
8.1.20.0060.00317.52
8.1.10.0030.00617.35
8.1.00.0020.00517.32
8.0.300.0110.00018.77
8.0.290.0050.00316.63
8.0.280.0080.00018.30
8.0.270.0000.00717.16
8.0.260.0000.00617.13
8.0.250.0030.00316.78
8.0.240.0060.00316.78
8.0.230.0070.00016.79
8.0.220.0030.00316.63
8.0.210.0070.00016.64
8.0.200.0060.00016.84
8.0.190.0000.00816.81
8.0.180.0070.00416.68
8.0.170.0030.00516.77
8.0.160.0000.00816.74
8.0.150.0070.00016.69
8.0.140.0040.00316.63
8.0.130.0000.00613.27
8.0.120.0050.00216.75
8.0.110.0040.00416.64
8.0.100.0040.00416.66
8.0.90.0040.00416.65
8.0.80.0070.00716.73
8.0.70.0040.00416.66
8.0.60.0050.00216.80
8.0.50.0000.00716.57
8.0.30.0120.00616.90
8.0.20.0100.01117.40
8.0.10.0060.00316.89
8.0.00.0100.00716.57
7.4.330.0040.00415.00
7.4.320.0000.00716.46
7.4.300.0000.00616.35
7.4.290.0030.00316.26
7.4.280.0050.00216.46
7.4.270.0030.00316.37
7.4.260.0030.00316.44
7.4.250.0040.00416.41
7.4.240.0040.00416.45
7.4.230.0000.00716.34
7.4.220.0070.01116.28
7.4.210.0040.01216.40
7.4.200.0000.00716.46
7.4.160.0060.00916.41
7.4.150.0120.00617.40
7.4.140.0100.00817.86
7.4.130.0050.01116.30
7.4.120.0120.00716.40
7.4.110.0090.00916.43
7.4.100.0100.00716.36
7.4.90.0180.00616.29
7.4.80.0090.00819.39
7.4.70.0070.01016.38
7.4.60.0070.01016.14
7.4.50.0000.00516.40
7.4.40.0130.00716.41
7.4.30.0110.00716.30
7.4.00.0070.00714.70
7.3.330.0030.00413.18
7.3.320.0030.00313.13
7.3.310.0030.00316.20
7.3.300.0000.00716.11
7.3.290.0070.00716.15
7.3.280.0050.01016.15
7.3.270.0100.00717.40
7.3.260.0140.00516.21
7.3.250.0030.01316.10
7.3.240.0140.00316.14
7.3.230.0100.00716.39
7.3.210.0080.00816.20
7.3.200.0130.00319.39
7.3.190.0140.00716.14
7.3.180.0090.00616.39
7.3.170.0120.00316.27
7.3.160.0090.00616.19
7.2.330.0110.00816.32
7.2.320.0130.00316.36
7.2.310.0060.01216.23
7.2.300.0070.01016.38
7.2.290.0140.00816.31
7.2.00.0040.00819.15
7.1.100.0030.00818.18
7.1.70.0030.00717.10
7.1.60.0060.00617.16
7.1.50.0060.01316.90
7.1.00.0070.07322.45
7.0.200.0030.01216.69
7.0.140.0100.06722.21
7.0.60.0130.04019.92
7.0.50.0100.03317.89
7.0.40.0070.06320.40
7.0.30.0230.03720.25
7.0.20.0300.06320.30
7.0.10.0000.04720.20
7.0.00.0030.04020.16
5.6.280.0030.07321.09
5.6.210.0200.05720.62
5.6.200.0130.07718.22
5.6.190.0100.08720.41
5.6.180.0000.04320.39
5.6.170.0270.04720.44
5.6.160.0070.06020.48
5.6.150.0070.06318.12
5.6.140.0030.04318.15
5.6.130.0000.08318.15
5.6.120.0030.04021.03
5.6.110.0030.04321.00
5.6.100.0100.09020.93
5.6.90.0070.04020.99
5.6.80.0130.06020.40
5.6.70.4100.04320.36
5.5.350.0100.05320.43
5.5.340.0100.06318.08
5.5.330.0070.03720.29
5.5.320.0300.08320.34
5.5.310.0330.05020.41
5.5.300.0030.07018.04
5.5.290.0000.05717.98
5.5.280.0070.05720.96
5.5.270.0130.08320.88
5.5.260.0030.06020.86
5.5.250.0130.08020.46
5.5.240.0200.07020.18
5.4.450.0300.04319.55
5.4.440.0100.05019.27
5.4.430.0270.04019.63
5.4.420.0370.04319.47
5.4.410.0330.04719.35
5.4.400.0270.04318.86
5.4.390.0330.04319.32
5.4.380.0370.05718.76
5.4.370.0570.06318.52
5.4.360.0470.04718.76
5.4.350.0300.05318.78
5.4.340.0400.05018.66
5.4.320.0030.03812.49
5.4.310.0100.04612.49
5.4.300.0090.03912.50
5.4.290.0080.03912.49
5.4.280.0040.04612.39
5.4.270.0070.04012.38
5.4.260.0060.03712.39
5.4.250.0110.03312.38
5.4.240.0040.03712.39
5.4.230.0080.04212.38
5.4.220.0060.04012.38
5.4.210.0070.03412.38
5.4.200.0070.03612.38
5.4.190.0070.04612.38
5.4.180.0060.03612.38
5.4.170.0080.03612.39
5.4.160.0070.03912.39
5.4.150.0070.03512.38
5.4.140.0080.03512.06
5.4.130.0070.03512.05
5.4.120.0080.03212.01
5.4.110.0070.03412.00
5.4.100.0090.03412.01
5.4.90.0050.03712.00
5.4.80.0060.03612.00
5.4.70.0040.03512.00
5.4.60.0040.03612.00
5.4.50.0060.03812.00
5.4.40.0060.03411.99
5.4.30.0070.03311.98
5.4.20.0050.03511.98
5.4.10.0050.03411.99
5.4.00.0080.03811.47

preferences:
42.39 ms | 401 KiB | 5 Q