3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function m() { echo 'I am M!'; } } $m = 'm'; $t = new T; $t->{$m}();

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.0080.01116.50
8.3.50.0040.01116.36
8.3.40.0030.01218.89
8.3.30.0100.00318.84
8.3.20.0000.00720.04
8.3.10.0040.00421.80
8.3.00.0040.00420.96
8.2.180.0040.01118.54
8.2.170.0140.00022.96
8.2.160.0070.00722.12
8.2.150.0000.00724.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00420.99
8.2.110.0100.00020.64
8.2.100.0070.00417.72
8.2.90.0050.00319.23
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0060.00317.68
8.2.50.0000.00818.10
8.2.40.0000.00922.32
8.2.30.0040.00419.16
8.2.20.0030.00317.89
8.2.10.0000.00818.09
8.2.00.0000.00818.10
8.1.270.0000.00724.66
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0000.01022.53
8.1.230.0070.00419.00
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0070.00317.35
8.1.190.0000.00917.35
8.1.180.0050.00318.10
8.1.170.0040.00418.56
8.1.160.0070.00018.91
8.1.150.0000.00818.92
8.1.140.0040.00419.50
8.1.130.0070.00018.80
8.1.120.0040.00417.41
8.1.110.0090.00017.42
8.1.100.0050.00317.42
8.1.90.0070.00017.38
8.1.80.0070.00017.36
8.1.70.0070.00017.30
8.1.60.0070.00017.43
8.1.50.0060.00317.47
8.1.40.0080.00017.47
8.1.30.0000.00817.68
8.1.20.0000.00917.62
8.1.10.0060.00317.60
8.1.00.0030.00617.43
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0060.00018.38
8.0.270.0050.00217.11
8.0.260.0030.00316.83
8.0.250.0030.00316.96
8.0.240.0080.00016.84
8.0.230.0000.00716.95
8.0.220.0000.00716.79
8.0.210.0030.00316.78
8.0.200.0060.00316.99
8.0.190.0050.00316.82
8.0.180.0000.00716.89
8.0.170.0000.00716.95
8.0.160.0040.00416.96
8.0.150.0040.00416.70
8.0.140.0030.00616.90
8.0.130.0020.00513.32
8.0.120.0040.00416.84
8.0.110.0040.00416.95
8.0.100.0000.00716.75
8.0.90.0080.00016.94
8.0.80.0080.00816.95
8.0.70.0000.00716.87
8.0.60.0040.00416.70
8.0.50.0000.00717.00
8.0.30.0110.01016.95
8.0.20.0090.01117.40
8.0.10.0050.00316.82
8.0.00.0100.00716.85
7.4.330.0020.00215.55
7.4.320.0000.00616.53
7.4.300.0060.00016.50
7.4.290.0000.00616.39
7.4.280.0070.00016.54
7.4.270.0040.00416.52
7.4.260.0070.00016.60
7.4.250.0040.00416.51
7.4.240.0000.00716.52
7.4.230.0040.00416.69
7.4.220.0110.01516.46
7.4.210.0070.00816.56
7.4.200.0000.00816.63
7.4.160.0150.00316.48
7.4.150.0060.01117.40
7.4.140.0150.00617.86
7.4.130.0060.01216.56
7.4.120.0100.01016.49
7.4.110.0090.00916.70
7.4.100.0060.01316.67
7.4.90.0070.01016.55
7.4.80.0080.00819.39
7.4.70.0130.00316.46
7.4.60.0000.01516.35
7.4.50.0080.00316.62
7.4.40.0130.00716.30
7.4.30.0090.01216.42
7.4.00.0000.01114.91
7.3.330.0000.00713.29
7.3.320.0020.00213.27
7.3.310.0040.00416.32
7.3.300.0070.00016.29
7.3.290.0030.00316.30
7.3.280.0080.00716.28
7.3.270.0030.01317.40
7.3.260.0070.01116.42
7.3.250.0100.00716.27
7.3.240.0060.01216.39
7.3.230.0060.01216.34
7.3.210.0070.01016.21
7.3.200.0080.00816.52
7.3.190.0030.01216.33
7.3.180.0090.00616.37
7.3.170.0060.00916.46
7.3.160.0090.00616.31
7.2.330.0070.01516.71
7.2.320.0110.00816.23
7.2.310.0080.00916.63
7.2.300.0070.01016.46
7.2.290.0030.01316.35
7.2.60.0040.01116.75
7.2.00.0060.00319.31
7.1.200.0090.00315.56
7.1.100.0040.00817.84
7.1.70.0000.01117.17
7.1.60.0430.00332.86
7.1.50.0400.00732.80
7.1.40.0400.00732.62
7.1.30.0370.01032.34
7.1.20.0330.01332.63
7.1.10.0270.00714.61
7.1.00.0370.01014.60
7.0.200.0270.00714.91
7.0.190.0200.01314.69
7.0.180.0270.00714.36
7.0.170.0230.01014.18
7.0.160.0300.00314.22
7.0.150.0230.01014.22
7.0.140.0270.01014.50
7.0.130.0230.01014.55
7.0.120.0230.01014.64
7.0.110.0230.01014.35
7.0.100.0500.01014.32
7.0.90.0230.00714.38
7.0.80.0330.00314.61
7.0.70.0200.01314.24
7.0.60.0300.00313.92
7.0.50.0270.00714.52
7.0.40.0330.01014.40
7.0.30.0400.00714.58
7.0.20.0330.01014.35
7.0.10.0300.00714.34
7.0.00.0400.01014.48

preferences:
48.65 ms | 400 KiB | 5 Q