3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { const DEP = 'sds'; public function testing() { return 'Hoi'; } } $x = new Test; echo $x->tEsTing(); Test::dep; ?>

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.01518.20
8.3.50.0140.00416.39
8.3.40.0120.00618.63
8.3.30.0140.00018.70
8.3.20.0040.00420.77
8.3.10.0000.00821.77
8.3.00.0040.00420.85
8.2.180.0140.00718.52
8.2.170.0110.00322.96
8.2.160.0100.00322.25
8.2.150.0080.00024.18
8.2.140.0020.00524.66
8.2.130.0080.00020.51
8.2.120.0050.00326.35
8.2.110.0040.00420.52
8.2.100.0040.00717.97
8.2.90.0040.00419.07
8.2.80.0060.00317.97
8.2.70.0030.00617.49
8.2.60.0000.00917.80
8.2.50.0050.00318.10
8.2.40.0080.00022.14
8.2.30.0080.00021.09
8.2.20.0000.00718.04
8.2.10.0000.00717.93
8.2.00.0020.00517.93
8.1.280.0090.00625.92
8.1.270.0090.00322.20
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00620.76
8.1.230.0070.00419.01
8.1.220.0000.00817.78
8.1.210.0000.00818.77
8.1.200.0080.00016.98
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0000.00818.50
8.1.160.0080.00019.05
8.1.150.0040.00420.58
8.1.140.0020.00519.62
8.1.130.0030.00818.92
8.1.120.0000.00717.36
8.1.110.0050.00317.41
8.1.100.0040.00417.40
8.1.90.0080.00017.48
8.1.80.0030.00317.45
8.1.70.0030.00317.37
8.1.60.0000.00917.45
8.1.50.0040.00417.51
8.1.40.0080.00017.52
8.1.30.0050.00317.71
8.1.20.0050.00317.48
8.1.10.0040.00417.50
8.1.00.0040.00417.50
8.0.300.0080.00018.77
8.0.290.0040.00416.88
8.0.280.0030.00318.43
8.0.270.0030.00317.21
8.0.260.0040.00416.81
8.0.250.0030.00316.95
8.0.240.0040.00416.90
8.0.230.0030.00317.05
8.0.220.0040.00416.96
8.0.210.0080.00016.95
8.0.200.0030.00316.99
8.0.190.0040.00417.02
8.0.180.0000.00717.02
8.0.170.0030.00316.86
8.0.160.0030.00316.96
8.0.150.0070.00016.85
8.0.140.0000.00916.88
8.0.130.0000.00813.39
8.0.120.0030.00516.90
8.0.110.0040.00416.85
8.0.100.0040.00417.01
8.0.90.0000.00716.95
8.0.80.0100.00717.01
8.0.70.0000.00716.82
8.0.60.0070.00017.01
8.0.50.0000.00716.75
8.0.30.0100.00617.04
8.0.20.0120.00717.40
8.0.10.0000.00716.92
8.0.00.0070.01116.77
7.4.330.0040.00015.55
7.4.320.0030.00316.58
7.4.300.0000.00616.61
7.4.290.0000.00916.63
7.4.280.0000.00816.41
7.4.270.0050.00316.45
7.4.260.0060.00213.26
7.4.250.0000.00816.48
7.4.240.0070.00016.61
7.4.230.0070.00016.50
7.4.220.0160.00816.62
7.4.210.0060.00916.54
7.4.200.0000.00816.71
7.4.160.0100.00716.33
7.4.150.0100.01017.40
7.4.140.0080.01117.86
7.4.130.0060.01216.43
7.4.120.0100.00916.57
7.4.110.0030.01316.64
7.4.100.0090.00916.66
7.4.90.0140.00716.44
7.4.80.0170.00319.39
7.4.70.0070.01116.50
7.4.60.0080.00816.51
7.4.50.0090.00616.50
7.4.40.0110.00516.57
7.4.30.0100.00716.43
7.4.00.0030.01015.19
7.3.330.0000.00713.22
7.3.320.0000.00513.35
7.3.310.0000.00716.40
7.3.300.0000.00716.23
7.3.290.0060.01116.41
7.3.280.0080.00916.33
7.3.270.0080.00817.40
7.3.260.0080.00816.43
7.3.250.0120.00916.39
7.3.240.0110.01216.47
7.3.230.0160.00416.33
7.3.210.0140.00316.41
7.3.200.0110.00716.55
7.3.190.0160.00016.39
7.3.180.0060.00916.57
7.3.170.0100.00716.32
7.3.160.0180.00316.44
7.3.10.0150.01116.27
7.3.00.0210.00616.36
7.2.330.0110.00616.44
7.2.320.0070.01016.66
7.2.310.0110.00616.44
7.2.300.0040.01716.66
7.2.290.0060.01116.64
7.2.130.0150.00716.34
7.2.120.0150.01016.54
7.2.110.0220.00616.22
7.2.100.0170.00916.90
7.2.90.0250.00016.41
7.2.80.0210.00916.70
7.2.70.0350.00016.77
7.2.60.0090.01116.58
7.2.50.0220.00616.68
7.2.40.0100.01016.71
7.2.30.0000.02116.60
7.2.20.0080.01116.64
7.2.10.0190.00316.45
7.2.00.0080.01018.11
7.1.250.0120.00815.14
7.1.200.0080.00415.53
7.1.100.0000.01217.83
7.1.70.0000.00716.68
7.1.60.0830.01333.26
7.1.50.0230.01032.57
7.1.40.0800.00732.50
7.1.30.0800.00732.50
7.1.20.0070.01732.78
7.1.10.0630.01014.64
7.1.00.0630.01014.66
7.0.200.0130.00714.96
7.0.190.0030.01014.80
7.0.180.0730.01014.28
7.0.170.0530.00314.19
7.0.160.0670.01314.40
7.0.150.0630.01014.38
7.0.140.0070.00714.47
7.0.130.0670.00714.74
7.0.120.0630.01014.75
7.0.110.0770.01014.36
7.0.100.0730.00714.40
7.0.90.0770.01014.21
7.0.80.0870.00314.43
7.0.70.0830.00314.34
7.0.60.0770.00714.35
7.0.50.0670.01314.37
7.0.40.0930.01714.51
7.0.30.0730.00714.55
7.0.20.0870.01014.42
7.0.10.0670.00714.74
7.0.00.0670.00714.57

preferences:
51.44 ms | 400 KiB | 5 Q