3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Dashboard\Clear; class Cleaner{ function __construct(){ echo "See!"; } } namespace App; use Dashboard\Clear\Cleaner; $class = new Cleaner();

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.70.0090.00918.18
8.3.60.0100.01016.74
8.3.50.0070.01317.98
8.3.40.0180.00418.86
8.3.30.0090.00518.50
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.190.0180.00016.78
8.2.180.0140.00325.92
8.2.170.0100.01018.94
8.2.160.0130.00322.96
8.2.150.0030.00725.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00018.75
8.2.110.0060.00320.56
8.2.100.0030.00917.78
8.2.90.0040.00417.38
8.2.80.0000.01118.61
8.2.70.0050.00317.63
8.2.60.0030.00517.50
8.2.50.0060.00318.05
8.2.40.0000.00819.88
8.2.30.0000.00717.93
8.2.20.0040.00418.04
8.2.10.0070.00019.24
8.2.00.0050.00219.15
8.1.280.0100.01025.92
8.1.270.0060.00323.95
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0090.00020.65
8.1.230.0070.00421.04
8.1.220.0030.00517.74
8.1.210.0060.00318.77
8.1.200.0080.00017.22
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0030.00618.49
8.1.160.0040.00418.85
8.1.150.0030.00518.68
8.1.140.0050.00318.75
8.1.130.0000.00719.92
8.1.120.0000.00817.41
8.1.110.0080.00017.29
8.1.100.0040.00417.41
8.1.90.0030.00417.40
8.1.80.0050.00217.34
8.1.70.0070.00017.30
8.1.60.0040.00417.59
8.1.50.0070.00017.41
8.1.40.0070.00017.56
8.1.30.0000.00817.65
8.1.20.0000.00817.68
8.1.10.0000.00817.39
8.1.00.0080.00017.51
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0030.00318.50
8.0.270.0070.00017.87
8.0.260.0000.00718.52
8.0.250.0070.00016.82
8.0.240.0030.00316.93
8.0.230.0030.00316.88
8.0.220.0030.00316.81
8.0.210.0030.00316.84
8.0.200.0070.00016.77
8.0.190.0070.00016.89
8.0.180.0070.00016.75
8.0.170.0090.00016.82
8.0.160.0000.00816.66
8.0.150.0000.00716.74
8.0.140.0040.00416.83
8.0.130.0030.00313.33
8.0.120.0000.00716.66
8.0.110.0040.00416.85
8.0.100.0000.00816.88
8.0.90.0050.00216.86
8.0.80.0030.01616.84
8.0.70.0070.00016.81
8.0.60.0040.00416.75
8.0.50.0040.00416.93
8.0.30.0100.00716.84
8.0.20.0120.00617.25
8.0.10.0030.00316.79
8.0.00.0150.00816.69
7.4.330.0050.00015.55
7.4.320.0000.00616.52
7.4.300.0030.00316.50
7.4.290.0080.00016.46
7.4.280.0000.00816.47
7.4.270.0070.00016.50
7.4.260.0030.00313.28
7.4.250.0030.00316.55
7.4.240.0050.00216.50
7.4.230.0080.00016.65
7.4.220.0040.00316.57
7.4.210.0070.00916.50
7.4.200.0000.00716.48
7.4.130.0150.00516.30
7.4.120.0040.01516.21
7.4.110.0140.00516.36
7.4.100.0120.00816.26
7.4.90.0090.01116.30
7.4.80.0120.01216.37
7.4.70.0110.00916.38
7.4.60.0150.00616.48
7.4.50.0130.00516.48
7.4.40.0090.01116.38
7.4.30.0100.00916.44
7.4.20.0100.01116.40
7.4.10.0140.00716.46
7.4.00.0120.00516.28
7.3.330.0070.00016.04
7.3.320.0000.00513.26
7.3.310.0030.00516.24
7.3.300.0000.00716.14
7.3.290.0110.00716.25
7.3.260.0080.00916.36
7.3.250.0090.01216.29
7.3.240.0080.01016.24
7.3.230.0120.00716.25
7.3.220.0100.00916.21
7.3.210.0060.01316.18
7.3.200.0090.01016.14
7.3.190.0120.00516.20
7.3.180.0090.01216.27
7.3.170.0070.01116.25
7.3.160.0090.01116.25
7.3.150.0120.00616.16
7.3.140.0110.01116.30
7.3.130.0080.01316.24
7.3.120.0130.00616.23
7.3.110.0130.00616.19
7.3.100.0090.01016.00
7.3.90.0150.00616.28
7.3.80.0120.01116.20
7.3.70.0110.00916.09
7.3.60.0090.01016.12
7.3.50.0080.01316.24
7.3.40.0100.01116.22
7.3.30.0150.00916.22
7.3.20.0120.00816.33
7.3.10.0130.00716.05
7.3.00.0090.01116.04

preferences:
49.57 ms | 401 KiB | 5 Q