3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { private static function staticCall() { return true; } private function normalCall() { return true; } public function test() { return self->normalCall(); } }

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.0000.01416.50
8.3.60.0110.00416.21
8.3.50.0120.00521.98
8.3.40.0040.01118.77
8.3.30.0040.01118.96
8.3.20.0040.00420.33
8.3.10.0000.00920.46
8.3.00.0000.00819.26
8.2.180.0120.00318.29
8.2.170.0130.00322.96
8.2.160.0100.00320.47
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00419.65
8.2.110.0040.00422.08
8.2.100.0070.00318.33
8.1.280.0060.01525.92
8.1.270.0000.00820.35
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00018.49
8.1.230.0090.00018.45
5.4.350.0040.04012.03
5.4.340.0070.03512.03
5.4.320.0070.04312.52
5.4.310.0050.04012.51
5.4.300.0090.03412.52
5.4.290.0060.04012.51
5.4.280.0070.03812.41
5.4.270.0040.04212.41
5.4.260.0070.04512.41
5.4.250.0080.04512.41
5.4.240.0090.05512.41
5.4.230.0140.04512.40
5.4.220.0110.04312.40
5.4.210.0060.03912.40
5.4.200.0060.04012.40
5.4.190.0070.04212.39
5.4.180.0090.03812.40
5.4.170.0080.03512.41
5.4.160.0070.04012.40
5.4.150.0060.03712.40
5.4.140.0080.04112.09
5.4.130.0080.03412.07
5.4.120.0070.03912.04
5.4.110.0070.04012.03
5.4.100.0070.03512.03
5.4.90.0080.04512.03
5.4.80.0040.04012.03
5.4.70.0050.03812.03
5.4.60.0060.03812.02
5.4.50.0090.03912.03
5.4.40.0070.04212.02
5.4.30.0070.03512.02
5.4.20.0060.03712.01
5.4.10.0040.04312.01
5.4.00.0060.03511.51
5.3.290.0050.04112.80
5.3.280.0090.04012.71
5.3.270.0070.04112.72
5.3.260.0080.03912.72
5.3.250.0050.04412.72
5.3.240.0100.03712.72
5.3.230.0040.04112.71
5.3.220.0080.03712.68
5.3.210.0050.04112.68
5.3.200.0050.03812.68
5.3.190.0080.03612.68
5.3.180.0080.03712.67
5.3.170.0100.03612.67
5.3.160.0050.04212.67
5.3.150.0040.04112.67
5.3.140.0100.03712.66
5.3.130.0050.04412.66
5.3.120.0110.04412.66
5.3.110.0070.03912.66
5.3.100.0070.04012.13
5.3.90.0060.03712.11
5.3.80.0110.03112.10
5.3.70.0060.03812.09
5.3.60.0100.03512.09
5.3.50.0060.03912.03
5.3.40.0070.04512.03
5.3.30.0080.03511.98
5.3.20.0050.03911.77
5.3.10.0060.03611.74
5.3.00.0090.03311.73
5.2.170.0040.0379.23
5.2.160.0030.0319.22
5.2.150.0060.0349.23
5.2.140.0070.0409.22
5.2.130.0060.0369.18
5.2.120.0060.0389.18
5.2.110.0090.0299.19
5.2.100.0070.0269.18
5.2.90.0060.0359.18
5.2.80.0070.0299.18
5.2.70.0060.0309.18
5.2.60.0120.0279.13
5.2.50.0070.0289.10
5.2.40.0030.0339.08
5.2.30.0050.0299.05
5.2.20.0080.0299.04
5.2.10.0060.0278.95
5.2.00.0050.0318.81
5.1.60.0070.0288.10
5.1.50.0040.0258.10
5.1.40.0070.0368.07
5.1.30.0030.0298.42
5.1.20.0030.0308.45
5.1.10.0080.0248.17
5.1.00.0050.0298.17
5.0.50.0010.0286.64
5.0.40.0050.0236.50
5.0.30.0040.0336.32
5.0.20.0040.0226.28
5.0.10.0080.0206.26
5.0.00.0040.0326.25
4.4.90.0030.0194.77
4.4.80.0040.0144.76
4.4.70.0020.0174.75
4.4.60.0030.0164.76
4.4.50.0030.0164.77
4.4.40.0020.0274.71
4.4.30.0040.0184.75
4.4.20.0030.0224.85
4.4.10.0040.0214.85
4.4.00.0030.0324.76
4.3.110.0050.0194.67
4.3.100.0040.0164.67
4.3.90.0040.0184.63
4.3.80.0050.0244.59
4.3.70.0040.0154.63
4.3.60.0030.0164.62
4.3.50.0010.0194.63
4.3.40.0040.0244.54
4.3.30.0000.0203.30
4.3.20.0020.0213.28
4.3.10.0030.0163.24
4.3.00.0230.0276.55

preferences:
55.09 ms | 401 KiB | 5 Q