3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function bar() { echo "this is allowed."; } } $foo = new Foo(); $foo->bar();

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.00616.58
8.3.60.0100.01018.30
8.3.50.0100.00716.45
8.3.40.0140.00318.55
8.3.30.0070.00718.71
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.190.0070.01418.39
8.2.180.0070.00725.92
8.2.170.0160.00318.91
8.2.160.0110.00722.96
8.2.150.0050.00325.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0070.00026.35
8.2.110.0030.00720.96
8.2.100.0040.00817.77
8.2.90.0050.00317.73
8.2.80.0040.00418.79
8.2.70.0050.00317.63
8.2.60.0040.00817.80
8.2.50.0000.00818.05
8.2.40.0040.00418.09
8.2.30.0060.00317.99
8.2.20.0000.00718.03
8.2.10.0070.00019.19
8.2.00.0040.00419.11
8.1.280.0120.00325.92
8.1.270.0040.00423.99
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0060.00323.96
8.1.230.0000.01119.48
8.1.220.0030.00517.74
8.1.210.0030.00518.77
8.1.200.0040.00417.13
8.1.190.0030.00517.10
8.1.180.0050.00318.10
8.1.170.0050.00219.02
8.1.160.0080.00018.81
8.1.150.0040.00418.80
8.1.140.0000.01018.65
8.1.130.0030.00320.10
8.1.120.0030.00317.32
8.1.110.0050.00317.36
8.1.100.0030.00517.37
8.1.90.0000.00817.36
8.1.80.0000.00717.29
8.1.70.0030.00317.38
8.1.60.0090.00017.43
8.1.50.0040.00417.49
8.1.40.0060.00317.40
8.1.30.0040.00417.62
8.1.20.0000.00817.65
8.1.10.0040.00417.61
8.1.00.0030.00517.52
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0000.00718.43
8.0.270.0000.00717.90
8.0.260.0030.00318.47
8.0.250.0000.00716.77
8.0.240.0030.00316.88
8.0.230.0000.01016.77
8.0.220.0070.00016.71
8.0.210.0060.00016.69
8.0.200.0000.00816.94
8.0.190.0080.00016.84
8.0.180.0000.00716.85
8.0.170.0030.00516.73
8.0.160.0000.00716.71
8.0.150.0000.00816.78
8.0.140.0040.00416.67
8.0.130.0000.00513.20
8.0.120.0030.00516.80
8.0.110.0040.00416.81
8.0.100.0000.00716.65
8.0.90.0080.00016.86
8.0.80.0060.01016.78
8.0.70.0040.00416.77
8.0.60.0040.00416.78
8.0.50.0000.00716.70
8.0.30.0100.01017.06
8.0.20.0120.00617.11
8.0.10.0130.00616.96
8.0.00.0100.01316.80
7.4.330.0060.00015.55
7.4.320.0000.00716.53
7.4.300.0030.00316.49
7.4.290.0000.00816.45
7.4.280.0050.00316.46
7.4.270.0020.00516.55
7.4.260.0000.00716.47
7.4.250.0040.00416.38
7.4.240.0000.00716.60
7.4.230.0070.00016.47
7.4.220.0000.00716.59
7.4.210.0080.00716.59
7.4.200.0000.00716.53
7.4.140.0150.00416.37
7.4.130.0100.00716.34
7.4.120.0140.00416.52
7.4.110.0120.01516.27
7.4.100.0100.00616.60
7.4.90.0110.00616.57
7.4.80.0060.01116.50
7.4.70.0080.01416.13
7.4.60.0150.00316.47
7.4.50.0160.00916.64
7.4.40.0110.00616.50
7.4.30.0090.00916.61
7.4.20.0110.00716.46
7.4.10.0130.00316.29
7.4.00.0110.00716.54
7.3.330.0040.00416.11
7.3.320.0020.00213.08
7.3.310.0040.00416.26
7.3.300.0030.00316.25
7.3.290.0080.00516.22
7.3.260.0030.01316.16
7.3.250.0060.01216.48
7.3.240.0110.01116.36
7.3.230.0030.01316.43
7.3.220.0080.00816.43
7.3.210.0070.01016.45
7.3.200.0100.01316.14
7.3.190.0000.02216.29
7.3.180.0110.01216.22
7.3.170.0140.00316.14
7.3.160.0090.00916.23
7.3.150.0180.00016.18
7.3.140.0110.00616.41
7.3.130.0130.00316.54
7.3.120.0070.01016.43
7.3.110.0120.00416.37
7.3.100.0120.00316.12
7.3.90.0110.00616.19
7.3.80.0080.00816.20
7.3.70.0130.00916.33
7.3.60.0090.01316.29
7.3.50.0080.00816.16
7.3.40.0040.01516.13
7.3.30.0140.00316.43
7.3.20.0170.00316.27
7.3.10.0090.01516.29
7.3.00.0140.01216.43

preferences:
19.18 ms | 401 KiB | 5 Q